Documentation
¶
Index ¶
Constants ¶
View Source
const ( RelayOff = exporter.RelayOff RelayUnsupported = exporter.RelayUnsupported RelayDisabled = exporter.RelayDisabled RelayEnabled = exporter.RelayEnabled RelayTransientFailure = exporter.RelayTransientFailure RelayIdentityAvailable = exporter.RelayIdentityAvailable RelayIdentityDegraded = exporter.RelayIdentityDegraded )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
Self domain.NodeIdentity `json:"self"`
OS string `json:"os"`
PeerCount int `json:"peerCount"`
RelayCapability RelayCapability `json:"relayCapability"`
RelayIdentity RelayIdentityEvidence `json:"relayIdentityEvidence,omitempty"`
RelayEnabled bool `json:"relayEnabled"`
RelaySessionCount int `json:"relaySessionCount"`
}
type DiagnosticSource ¶
type DiagnosticSource interface {
Diagnostic(context.Context) (Diagnostic, error)
}
type RelayCapability ¶ added in v0.4.0
type RelayCapability = exporter.RelayCapability
type RelayClientSnapshot ¶ added in v0.4.0
type RelayClientSnapshot = exporter.RelayClientSnapshot
type RelayIdentityEvidence ¶ added in v0.4.0
type RelayIdentityEvidence = exporter.RelayIdentityEvidence
type RelaySessionSnapshot ¶ added in v0.4.0
type RelaySessionSnapshot = exporter.RelaySessionSnapshot
type RelaySnapshot ¶ added in v0.4.0
type RelaySnapshot = exporter.RelaySnapshot
type RelaySource ¶ added in v0.4.0
type RelaySource = exporter.RelaySource
Click to show internal directories.
Click to hide internal directories.