MCPcopy Create free account
hub / github.com/DNAProject/DNA / init

Function init

cmd/sigsvr/handler.go:26–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24import "github.com/DNAProject/DNA/cmd/sigsvr/handlers"
25
26func init() {
27 DefCliRpcSvr.RegHandler("createaccount", handlers.CreateAccount)
28 DefCliRpcSvr.RegHandler("exportaccount", handlers.ExportAccount)
29 DefCliRpcSvr.RegHandler("sigdata", handlers.SigData)
30 DefCliRpcSvr.RegHandler("sigrawtx", handlers.SigRawTransaction)
31 DefCliRpcSvr.RegHandler("sigmutilrawtx", handlers.SigMutilRawTransaction)
32 DefCliRpcSvr.RegHandler("sigtransfertx", handlers.SigTransferTransaction)
33 DefCliRpcSvr.RegHandler("signeovminvoketx", handlers.SigNeoVMInvokeTx)
34 DefCliRpcSvr.RegHandler("signeovminvokeabitx", handlers.SigNeoVMInvokeAbiTx)
35 DefCliRpcSvr.RegHandler("signativeinvoketx", handlers.SigNativeInvokeTx)
36}

Callers

nothing calls this directly

Calls 1

RegHandlerMethod · 0.80

Tested by

no test coverage detected