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