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