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:
AccountPB
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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccount ¶
func NewTimedUserValidator ¶
func NewTimedUserValidator(hasher protocol.IDHash) protocol.UserValidator
Types ¶
type Account ¶
func (*Account) AnyValidID ¶ added in v1.21.2
type AccountPB ¶
type AccountPB struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` AlterId uint32 `protobuf:"varint,2,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"` }
func (*AccountPB) Descriptor ¶
func (*AccountPB) ProtoMessage ¶
func (*AccountPB) ProtoMessage()
type TimedUserValidator ¶
func (*TimedUserValidator) Release ¶ added in v1.21.2
func (this *TimedUserValidator) Release()
Click to show internal directories.
Click to hide internal directories.