Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VMessInboundHandler ¶
type VMessInboundHandler struct {
// contains filtered or unexported fields
}
Inbound connection handler that handles messages in VMess format.
func NewVMessInboundHandler ¶
func NewVMessInboundHandler(space *app.Space, clients user.UserSet) *VMessInboundHandler
func (*VMessInboundHandler) AcceptConnections ¶
func (this *VMessInboundHandler) AcceptConnections(listener *net.TCPListener) error
func (*VMessInboundHandler) HandleConnection ¶
func (this *VMessInboundHandler) HandleConnection(connection *net.TCPConn) error
type VMessInboundHandlerFactory ¶
type VMessInboundHandlerFactory struct { }
func (*VMessInboundHandlerFactory) Create ¶
func (this *VMessInboundHandlerFactory) Create(space *app.Space, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)
Click to show internal directories.
Click to hide internal directories.