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

circuits

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceLinkCircuit

type DeviceLinkCircuit struct {
	Code         string
	OriginDevice serviceability.Device
	TargetDevice serviceability.Device
	Link         serviceability.Link
}

func GetDeviceLinkCircuits

func GetDeviceLinkCircuits(ctx context.Context, log *slog.Logger, serviceabilityClient ServiceabilityClient) ([]DeviceLinkCircuit, error)

type InternetExchangeCircuit added in v0.6.1

type InternetExchangeCircuit struct {
	Code           string
	OriginExchange serviceability.Exchange
	TargetExchange serviceability.Exchange
}

func GetInternetExchangeCircuits added in v0.6.1

func GetInternetExchangeCircuits(ctx context.Context, log *slog.Logger, serviceabilityClient ServiceabilityClient) ([]InternetExchangeCircuit, error)

type ServiceabilityClient

type ServiceabilityClient interface {
	GetProgramData(context.Context) (*serviceability.ProgramData, error)
}

Jump to

Keyboard shortcuts

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