Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTarget ¶
type ConfigTarget struct { Address v2net.Address Users []*ConfigUser }
func (*ConfigTarget) UnmarshalJSON ¶
func (t *ConfigTarget) UnmarshalJSON(data []byte) error
type ConfigUser ¶
ConfigUser is an user account in VMess configuration.
func (*ConfigUser) ID ¶
func (u *ConfigUser) ID() *config.ID
func (*ConfigUser) Level ¶ added in v0.14.1
func (this *ConfigUser) Level() config.UserLevel
func (*ConfigUser) UnmarshalJSON ¶
func (u *ConfigUser) UnmarshalJSON(data []byte) error
type Inbound ¶
type Inbound struct {
AllowedClients []*ConfigUser `json:"clients"`
}
func (*Inbound) AllowedUsers ¶
func (c *Inbound) AllowedUsers() []vmessconfig.User
type Outbound ¶
type Outbound struct {
TargetList []*ConfigTarget `json:"vnext"`
}
func (*Outbound) Targets ¶
func (o *Outbound) Targets() []*vmessconfig.OutboundTarget
type RawConfigTarget ¶
type RawConfigTarget struct { Address string `json:"address"` Port uint16 `json:"port"` Users []*ConfigUser `json:"users"` }
Click to show internal directories.
Click to hide internal directories.