metrics

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Events = pluginEvents{
	TPSMetricsUpdated: events.NewEvent(TPSMetricsCaller),
}
View Source
var PLUGIN = node.NewPlugin("Metrics", node.Enabled, configure, run)

Functions

func TPSMetricsCaller

func TPSMetricsCaller(handler interface{}, params ...interface{})

Types

type TPSMetrics

type TPSMetrics struct {
	Incoming uint32 `json:"incoming"`
	New      uint32 `json:"new"`
	Outgoing uint32 `json:"outgoing"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL