client

package
v0.0.0-...-d7c62ae Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 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 Config

type Config struct {
	ConnectorID uuid.UUID
	Version     string
	Arch        string
	// contains filtered or unexported fields
}

Config captures the local client runtime configuration.

func NewConfig

func NewConfig(version string, arch string, featureSelector features.FeatureSelector) (*Config, error)

func (*Config) ConnectionOptionsSnapshot

func (c *Config) ConnectionOptionsSnapshot(originIP net.IP, previousAttempts uint8) *ConnectionOptionsSnapshot

type ConnectionOptionsSnapshot

type ConnectionOptionsSnapshot struct {
	FeatureSnapshot features.FeatureSnapshot
	// contains filtered or unexported fields
}

ConnectionOptionsSnapshot is a snapshot of the current client information used to initialize a connection.

The FeatureSnapshot is the features that are available for this connection. At the client level they may change, but they will not change within the scope of this struct.

func (ConnectionOptionsSnapshot) ConnectionOptions

func (c ConnectionOptionsSnapshot) ConnectionOptions() *pogs.ConnectionOptions

func (ConnectionOptionsSnapshot) LogFields

func (c ConnectionOptionsSnapshot) LogFields(event *zerolog.Event) *zerolog.Event

Jump to

Keyboard shortcuts

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