happy

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer struct {
	Connect   control.Discoverer
	Grpc      control.Discoverer
	RpcConfig happy.Config
}

func (Discoverer) Gateways

func (d Discoverer) Gateways(ctx context.Context) ([]control.Gateway, error)

type PrefixFetcher

type PrefixFetcher struct {
	Connect   control.SimplePrefixFetcher
	Grpc      control.SimplePrefixFetcher
	RpcConfig happy.Config
}

func (PrefixFetcher) Prefixes

func (f PrefixFetcher) Prefixes(ctx context.Context, gateway *net.UDPAddr) ([]*net.IPNet, error)

Jump to

Keyboard shortcuts

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