Documentation
¶
Index ¶
- type ServerIO
- func (h *ServerIO) AddUser(user i.User)
- func (h *ServerIO) Close() error
- func (s *ServerIO) FallbackProcess(ctx context.Context, conn net.Conn) (bool, buf.MultiBuffer, error)
- func (*ServerIO) Network() []net.Network
- func (h *ServerIO) Process(ctx context.Context, conn net.Conn) error
- func (h *ServerIO) RemoveUser(uid, secret string)
- func (h *ServerIO) Start() error
- type ServerIOSetting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerIO ¶
type ServerIO struct {
// contains filtered or unexported fields
}
func NewIO ¶
func NewIO(setting *ServerIOSetting) *ServerIO
New creates a new VMess inbound handler.
func (*ServerIO) FallbackProcess ¶
func (*ServerIO) RemoveUser ¶
type ServerIOSetting ¶
type ServerIOSetting struct {
TimeoutSetting i.TimeoutSetting
Security bool
Handler i.ConnHandler
}
Click to show internal directories.
Click to hide internal directories.