Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CountryChineseName = map[string]string{}/* 258 elements not displayed */
View Source
var CountryEnglishName = map[string]string{}/* 253 elements not displayed */
View Source
var CountryFlag = map[string]string{}/* 259 elements not displayed */
View Source
var CountryISO = map[string]string{}/* 259 elements not displayed */
Functions ¶
func GetContryName ¶
func IsCountryGroup ¶
Types ¶
type ConvertRequest ¶
type ConvertRequest struct {
Subscriptions []string `form:"subscription" json:"subscription"`
Proxies []string `form:"proxy" json:"proxy"`
Template string `form:"template" json:"template"`
Delete string `form:"delete" json:"delete"`
Rename map[string]string `form:"rename" json:"rename"`
Group bool `form:"group" json:"group"`
GroupType string `form:"group-type" json:"group-type"`
SortKey string `form:"sort" json:"sort"`
SortType string `form:"sort-type" json:"sort-type"`
Output string `json:"output"`
GroupRules string `form:"group-rules" json:"group-rules"`
UserAgent string `form:"user-agent" json:"user-agent"`
}
type Endpoint ¶
func (*Endpoint) MarshalJSON ¶
type Inbound ¶
func (*Inbound) MarshalJSON ¶
type LogOptions ¶
type Outbound ¶
func (*Outbound) MarshalJSON ¶
type SortByNumber ¶
type SortByNumber []Outbound
func (SortByNumber) Len ¶
func (a SortByNumber) Len() int
func (SortByNumber) Less ¶
func (a SortByNumber) Less(i, j int) bool
func (SortByNumber) Swap ¶
func (a SortByNumber) Swap(i, j int)
type StubOptions ¶
type StubOptions struct{}
type VmessJson ¶
type VmessJson struct {
V any `json:"v"`
Ps string `json:"ps"`
Add string `json:"add"`
Port any `json:"port"`
Id string `json:"id"`
Aid any `json:"aid"`
Scy string `json:"scy"`
Net string `json:"net"`
Type string `json:"type"`
Host string `json:"host"`
Path string `json:"path"`
Tls string `json:"tls"`
Sni string `json:"sni"`
Alpn string `json:"alpn"`
Fp string `json:"fp"`
}
Click to show internal directories.
Click to hide internal directories.