Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VMessInboundHandler ¶ added in v0.6.1
type VMessInboundHandler struct {
// contains filtered or unexported fields
}
func NewVMessInboundHandler ¶ added in v0.6.1
func NewVMessInboundHandler(dispatcher app.PacketDispatcher, clients user.UserSet) *VMessInboundHandler
func (*VMessInboundHandler) AcceptConnections ¶ added in v0.6.1
func (handler *VMessInboundHandler) AcceptConnections(listener *net.TCPListener) error
func (*VMessInboundHandler) HandleConnection ¶ added in v0.6.1
func (handler *VMessInboundHandler) HandleConnection(connection *net.TCPConn) error
func (*VMessInboundHandler) Listen ¶ added in v0.6.1
func (handler *VMessInboundHandler) Listen(port uint16) error
type VMessInboundHandlerFactory ¶ added in v0.6.1
type VMessInboundHandlerFactory struct { }
func (*VMessInboundHandlerFactory) Create ¶ added in v0.6.1
func (factory *VMessInboundHandlerFactory) Create(dispatcher app.PacketDispatcher, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)
type VMessOutboundHandler ¶ added in v0.6.1
type VMessOutboundHandler struct {
// contains filtered or unexported fields
}
func NewVMessOutboundHandler ¶ added in v0.6.1
func NewVMessOutboundHandler(vNextList []*config.OutboundTarget) *VMessOutboundHandler
func (*VMessOutboundHandler) Dispatch ¶ added in v0.9.1
func (handler *VMessOutboundHandler) Dispatch(firstPacket v2net.Packet, ray ray.OutboundRay) error
type VMessOutboundHandlerFactory ¶ added in v0.6.1
type VMessOutboundHandlerFactory struct { }
func (*VMessOutboundHandlerFactory) Create ¶ added in v0.6.1
func (factory *VMessOutboundHandlerFactory) Create(rawConfig interface{}) (connhandler.OutboundConnectionHandler, error)
Click to show internal directories.
Click to hide internal directories.