Versions in this module Expand all Collapse all v0 v0.11.1 Feb 22, 2025 v0.11.0 Apr 6, 2024 Changes in this version + const Name + type Config struct + LocalHost string + LocalPort int + type Server struct + func NewServer(ctx context.Context, _ tunnel.Server) (*Server, error) + func (s *Server) AcceptConn(overlay tunnel.Tunnel) (tunnel.Conn, error) + func (s *Server) AcceptPacket(tunnel.Tunnel) (tunnel.PacketConn, error) + func (s *Server) Close() error + type Tunnel struct + func (t *Tunnel) Name() string + func (t *Tunnel) NewClient(ctx context.Context, client tunnel.Client) (tunnel.Client, error) + func (t *Tunnel) NewServer(ctx context.Context, server tunnel.Server) (tunnel.Server, error)