Documentation
¶
Index ¶
- func NewRealityClient(config *protocol.Reality, p netapi.Proxy) (netapi.Proxy, error)
- func NewServer(config *listener.Reality, ii netapi.Listener) (netapi.Listener, error)
- func ServerNameMap(s *listener.Reality) map[string]bool
- func ShortIDMap(s *listener.Reality) (map[[8]byte]bool, error)
- type RealityClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRealityClient ¶
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.