Versions in this module Expand all Collapse all v0 v0.4.1 Dec 10, 2024 Changes in this version + func CreateKernelTunnel(ctx context.Context, projectID uuid.UUID, endpoint string) (*kernelTunnel, error) — linux/amd64 + func CreateUserspaceTunnel(ctx context.Context, projectID uuid.UUID, endpoint string, socksPort uint16, ...) (*userspaceTunnel, error) type Tunnel + func CreateKernelTunnel(ctx context.Context, projectID uuid.UUID, endpoint string) (Tunnel, error) + ListenPort func() uint16 v0.4.0 Nov 25, 2024 Changes in this version + func Apoxy4To6Range() netip.Prefix + func NewApoxy4To6Prefix(orgID uuid.UUID, endpoint string) netip.Prefix + type Tunnel struct + func CreateTunnel(ctx context.Context, projectID uuid.UUID, endpoint string, socksPort uint16, ...) (*Tunnel, error) + func (t *Tunnel) AddPeer(peerConf *wireguard.PeerConfig) error + func (t *Tunnel) Close() + func (t *Tunnel) ExternalAddress() netip.AddrPort + func (t *Tunnel) InternalAddress() netip.Prefix + func (t *Tunnel) ProxyAddress() string + func (t *Tunnel) PublicKey() string + func (t *Tunnel) RemovePeer(publicKey string) error