Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigNetDomain ¶ added in v1.3.0
type ConfigNodeGroup ¶ added in v1.3.0
type ConfigNodeGroup struct { Name string `json:"name"` GType GType `json:"type,omitempty"` // 0 join 1 observe KeepConnectedPeers int `json:"keep-connected-peers"` KeepPingPeers int `json:"keep-ping-peers"` Nodes []boson.Address `json:"nodes,omitempty"` AgentHttp []ConfigNetDomain `json:"agent-http,omitempty"` }
type ConnectedInfo ¶
type KadParams ¶
type KadParams struct { Connected int `json:"connected"` // connected count Timestamp time.Time `json:"timestamp"` // now Groups []*GroupInfo `json:"groups"` // known ConnectedInfo []*ConnectedInfo `json:"connectedInfo"` // connected info }
type MetricSnapshotView ¶
type MetricSnapshotView struct { LastSeenTimestamp int64 `json:"lastSeenTimestamp"` SessionConnectionRetry uint64 `json:"sessionConnectionRetry"` ConnectionTotalDuration float64 `json:"connectionTotalDuration"` SessionConnectionDuration float64 `json:"sessionConnectionDuration"` SessionConnectionDirection string `json:"sessionConnectionDirection"` }
MetricSnapshotView represents snapshot of metrics counters in more human readable form.
Click to show internal directories.
Click to hide internal directories.