Documentation ¶
Index ¶
- func NewRealityClient(config *protocol.Protocol_Reality) point.WrapProxy
- func NewServer(config *listener.Transport_Reality) func(netapi.Listener) (netapi.Listener, error)
- func ServerNameMap(s *listener.Transport_Reality) map[string]bool
- func ShortIDMap(s *listener.Transport_Reality) (map[[8]byte]bool, error)
- type RealityClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRealityClient ¶
func NewRealityClient(config *protocol.Protocol_Reality) point.WrapProxy
func ServerNameMap ¶ added in v0.3.3
func ServerNameMap(s *listener.Transport_Reality) map[string]bool
func ShortIDMap ¶ added in v0.3.3
func ShortIDMap(s *listener.Transport_Reality) (map[[8]byte]bool, error)
Types ¶
type RealityClient ¶
type RealityClient struct { netapi.EmptyDispatch // TODO: remove debug log Deubg bool // contains filtered or unexported fields }
func (*RealityClient) ClientHandshake ¶
func (*RealityClient) PacketConn ¶
func (e *RealityClient) PacketConn(ctx context.Context, addr netapi.Address) (net.PacketConn, error)
Click to show internal directories.
Click to hide internal directories.