Documentation ¶
Index ¶
- func ClearNetworkMetrics()
- func DecrRelayConns(rmaddr string)
- func GetHostDataPoint(n *network.Node) *metrics.DataPoint
- func GetHostMetrics() *metrics.HostMetrics
- func GetNetDataPoint(n *network.Node) *metrics.DataPoint
- func GetRelayMetrics() map[string]*metrics.RelayMetrics
- func IncrRelayConns(rmaddr string)
- func UpdateHostMetrics()
- func UpdateNetworkMetric(addr string, tx, rx uint64, droppedPkt bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearNetworkMetrics ¶
func ClearNetworkMetrics()
func DecrRelayConns ¶
func DecrRelayConns(rmaddr string)
func GetHostMetrics ¶
func GetHostMetrics() *metrics.HostMetrics
func GetRelayMetrics ¶
func GetRelayMetrics() map[string]*metrics.RelayMetrics
func IncrRelayConns ¶
func IncrRelayConns(rmaddr string)
func UpdateHostMetrics ¶
func UpdateHostMetrics()
func UpdateNetworkMetric ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.