Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UserTrieSnapshotMsg - user trie snapshot message UserTrieSnapshotMsg = "user trie" // PeerTrieSnapshotMsg - peer trie snapshot message PeerTrieSnapshotMsg = "peer trie" )
Variables ¶
This section is empty.
Functions ¶
func NewStateMetrics ¶
func NewStateMetrics(args ArgsStateMetrics, appStatusHandler core.AppStatusHandler) (*stateMetrics, error)
NewStateMetrics creates a new state metrics
Types ¶
type ArgsStateMetrics ¶
type ArgsStateMetrics struct { SnapshotInProgressKey string LastSnapshotDurationKey string SnapshotMessage string }
ArgsStateMetrics are the arguments need for creating a new state metrics object
Click to show internal directories.
Click to hide internal directories.