Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trojan ¶
type Trojan struct { Name string `json:"name"` Server string `json:"server"` Port int `json:"port"` Password string `json:"password"` Sni string `json:"sni"` Type string `json:"type"` Encryption string `json:"encryption"` Host string `json:"host"` Path string `json:"path"` ServiceName string `json:"serviceName"` AllowInsecure bool `json:"allowInsecure"` Protocol string `json:"protocol"` }
func ParseTrojanURL ¶
func (*Trojan) ExportToURL ¶
Click to show internal directories.
Click to hide internal directories.