{"modulePath":"github.com/chainbing/node","version":"v0.0.0-20220110094656-e04c47b4d7c8","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debugapi\n\n## Types\n\n```go\ntype DebugAPI struct {\n\t// contains filtered or unexported fields\n}\n```\nDebugAPI is an http API with debugging endpoints\n\n```go\nfunc NewDebugAPI(addr string, stateDB *statedb.StateDB, sync *synchronizer.Synchronizer) *DebugAPI\n```\nNewDebugAPI creates a new DebugAPI\n\n```go\nfunc (a *DebugAPI) Run(ctx context.Context) error\n```\nRun starts the http server of the DebugAPI.  To stop it, pass a context with cancellation (see \\`debugapi\\_test.go\\` for an example).\n\n","path":"github.com/chainbing/node/test/debugapi","name":"debugapi","synopsis":"","isRedistributable":true}
