Versions in this module Expand all Collapse all v1 v1.24.4 Aug 19, 2016 Changes in this version + const HandlerStateRunning + const HandlerStateStopped + var ErrAlreadyListening = errors.New("Already listening on another port.") + var ErrInvalidAuthentication = errors.New("Invalid authentication.") + var ErrInvalidProtocolVersion = errors.New("Invalid protocol version.") + type HandlerState int + type InboundHandler interface + Close func() + Port func() v2net.Port + Start func() error + type InboundHandlerMeta struct + Address v2net.Address + AllowPassiveConnection bool + Port v2net.Port + StreamSettings *internet.StreamSettings + Tag string + type OutboundHandler interface + Dispatch func(destination v2net.Destination, payload *alloc.Buffer, ray ray.OutboundRay) error + type OutboundHandlerMeta struct + Address v2net.Address + StreamSettings *internet.StreamSettings + Tag string + type SessionInfo struct + Destination v2net.Destination + Source v2net.Destination + User *protocol.User v1.10.0 Aug 28, 2020 Changes in this version + type GetInbound interface + GetInbound func() Inbound + type GetOutbound interface + GetOutbound func() Outbound + type Inbound interface + Network func() []net.Network + Process func(context.Context, net.Network, internet.Connection, routing.Dispatcher) error + type Outbound interface + Process func(context.Context, *transport.Link, internet.Dialer) error + type UserManager interface + AddUser func(context.Context, *protocol.MemoryUser) error + RemoveUser func(context.Context, string) error Incompatible versions in this module v3.50.2+incompatible Oct 29, 2018