Documentation ¶
Overview ¶
Package vmess contains the implementation of VMess protocol and transportation.
VMess contains both inbound and outbound connections. VMess inbound is usually used on servers together with 'freedom' to talk to final destination, while VMess outbound is usually used on clients with 'socks' for proxying.
Index ¶
Constants ¶
View Source
const (
IDBytesLen = 16
)
Variables ¶
Functions ¶
func UUIDToID ¶ added in v1.1.1
func UUIDToID(uuid string) (v [IDBytesLen]byte, err error)
TODO: leverage a full functional UUID library
Types ¶
type ID ¶ added in v1.1.1
type ID struct { String string Bytes [IDBytesLen]byte // contains filtered or unexported fields }
The ID of en entity, in the form of an UUID.
type UserSettings ¶ added in v1.1.1
type UserSettings struct {
PayloadReadTimeout int
}
func GetUserSettings ¶ added in v1.1.1
func GetUserSettings(level UserLevel) UserSettings
Click to show internal directories.
Click to hide internal directories.