tsserver

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: CC0-1.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const NoiseCapabilityVersion = 39

Variables

View Source
var ErrNoCapabilityVersion = errors.New("no capability version set")

Functions

func DERPMapTailscale

func DERPMapTailscale(ctx context.Context) (*tailcfg.DERPMap, error)

func IP

func IP() netip.Addr

IP generates a random IP with a static service prefix.

func IPFromUUID

func IPFromUUID(uid uuid.UUID) netip.Addr

IP generates a new IP from a UUID.

func NewServer

func NewServer(ctx context.Context, logger *slog.Logger, ov overlay.Overlay) (*server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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