Help us shape the future of Go! Take the 2026 Go Developer Survey

collector

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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