Documentation ¶
Overview ¶
Package vmess is a generated protocol buffer package.
It is generated from these files:
v2ray.com/core/proxy/vmess/account.proto
It has these top-level messages:
Account
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 ¶
- func NewTimedUserValidator(hasher protocol.IDHash) protocol.UserValidator
- type Account
- func (v *Account) AsAccount() (protocol.Account, error)
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAlterId() uint32
- func (m *Account) GetId() string
- func (m *Account) GetSecuritySettings() *v2ray_core_common_protocol.SecurityConfig
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- type InternalAccount
- type TimedUserValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimedUserValidator ¶
func NewTimedUserValidator(hasher protocol.IDHash) protocol.UserValidator
Types ¶
type Account ¶
type Account struct { // ID of the account, in the form of an UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57". Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // Number of alternative IDs. Client and server must share the same number. AlterId uint32 `protobuf:"varint,2,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"` // Security settings. Only applies to client side. SecuritySettings *v2ray_core_common_protocol.SecurityConfig `protobuf:"bytes,3,opt,name=security_settings,json=securitySettings" json:"security_settings,omitempty"` }
func (*Account) Descriptor ¶
func (*Account) GetAlterId ¶
func (*Account) GetSecuritySettings ¶
func (m *Account) GetSecuritySettings() *v2ray_core_common_protocol.SecurityConfig
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
type InternalAccount ¶
func (*InternalAccount) AnyValidID ¶
func (v *InternalAccount) AnyValidID() *protocol.ID
type TimedUserValidator ¶
func (*TimedUserValidator) Release ¶
func (v *TimedUserValidator) Release()
Click to show internal directories.
Click to hide internal directories.