Add debug API. This can be used for profiling.

This commit is contained in:
Kleissner
2022-01-06 00:05:27 +01:00
parent 4b89138d36
commit adce6fee5c
7 changed files with 136 additions and 4 deletions

11
Debug empty.go Normal file
View File

@@ -0,0 +1,11 @@
//go:build !debug
// +build !debug
package main
import (
"github.com/PeernetOfficial/core/webapi"
)
func attachDebugAPI(api *webapi.WebapiInstance) {
}