Documentation
¶
Overview ¶
Package vmess implements the VMess protocol encoding and decoding. VMess is a protocol designed for encrypted communication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressType ¶
type AddressType byte
AddressType represents the address type
const ( AddressTypeIPv4 AddressType = 1 AddressTypeDomain AddressType = 2 AddressTypeIPv6 AddressType = 3 )
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a VMess client
type Request ¶
type Request struct {
Version byte
Command Command
Security Security
Address string
Port uint16
User *User
}
Request represents a VMess request header
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a VMess server
func (*Server) HandleConnection ¶
HandleConnection handles an incoming VMess connection
func (*Server) RemoveUser ¶
RemoveUser removes a user from the server
Click to show internal directories.
Click to hide internal directories.