p2p

package
v0.11.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// Number of peers.
	Peers metrics.Gauge
	// Number of connected persistent peers.
	ConnectedPersistentPeers metrics.Gauge
	// Number of unconnected persistent peers.
	UnonnectedPersistentPeers metrics.Gauge
	// contains filtered or unexported fields
}

func PrometheusMetrics

func PrometheusMetrics() *Metrics

func (*Metrics) Start

func (m *Metrics) Start(ctx context.CLIContext)

Jump to

Keyboard shortcuts

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