Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeartbeatStatus ¶
HeartbeatStatus respond with the heartbeat status of the node
func P2pStatusMetrics ¶
P2pStatusMetrics returns the node's p2p statistics exported by a StatusMetricsHandler
func QueryDebug ¶ added in v1.0.110
QueryDebug returns the debug information after the query has been interpreted
func StatusMetrics ¶
StatusMetrics returns the node statistics exported by an StatusMetricsHandler without p2p statistics
Types ¶
type FacadeHandler ¶
type FacadeHandler interface {
GetHeartbeats() ([]data.PubKeyHeartbeat, error)
TpsBenchmark() *statistics.TpsBenchmark
StatusMetrics() external.StatusMetricsHandler
GetQueryHandler(name string) (debug.QueryHandler, error)
GetPeerInfo(pid string) ([]core.QueryP2PPeerInfo, error)
IsInterfaceNil() bool
}
FacadeHandler interface defines methods that can be used by the gin webserver
type QueryDebugRequest ¶ added in v1.0.110
type QueryDebugRequest struct {
Name string `form:"name" json:"name"`
Search string `form:"search" json:"search"`
}
QueryDebugRequest represents the structure on which user input for querying a debug info will validate against
Click to show internal directories.
Click to hide internal directories.