package
Version:
v0.117.1
Opens a new window with list of versions in this module.
Published: Dec 14, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type PublicAPI struct {
}
PublicAPI represents a set of APIs from the namespace.
NewAPI creates an instance of the API.
GetStats retrun RPC usage stats
Reset resets RPC usage stats
type RPCStats struct {
Total uint `json:"total"`
CounterPerMethod map[string]uint `json:"methods"`
}
type RPCUsageStats struct {
}
Service represents our own implementation of status status operations.
New returns a new Service.
APIs returns a list of new APIs.
Protocols returns list of p2p protocols.
Start is run when a service is started.
It does nothing in this case but is required by `node.Service` interface.
Stop is run when a service is stopped.
It does nothing in this case but is required by `node.Service` interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.