Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonNodeParams ¶
type CommonNodeParams struct { Name string Host string Port string ProxyProtocol bool TCPFastOpen bool EnableDNS bool Rules []string Limit LimitOptions ExpandParams }
type ExpandParams ¶
type HysteriaNode ¶
type HysteriaNode struct { CommonNodeParams UpMbps int DownMbps int Obfs string }
type LimitOptions ¶
type NodeInfo ¶
type NodeInfo struct { Type string VMess *VMessNode VLess *VLessNode Shadowsocks *ShadowsocksNode Trojan *TrojanNode Hysteria *HysteriaNode Other *OtherNode ExpandParams }
type OtherNode ¶
type OtherNode struct { Name string TlsType int CommonNodeParams }
type RealityConfig ¶
type ShadowsocksNode ¶
type ShadowsocksNode struct { CommonNodeParams Cipher string `json:"cipher"` ServerKey string `json:"server_key"` }
type TlsSettings ¶
type TrojanNode ¶
type TrojanNode CommonNodeParams
type VLessNode ¶
type VLessNode struct { CommonNodeParams TlsType int Flow string Network string ServerName string RealityConfig RealityConfig TlsSettings TlsSettings NetworkSettings json.RawMessage }
VLessNode is vless node info
type VMessNode ¶
type VMessNode struct { CommonNodeParams TlsType int Network string ServerName string TlsSettings TlsSettings NetworkSettings json.RawMessage }
VMessNode is vmess node info
Click to show internal directories.
Click to hide internal directories.