Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg = &CmdConfig{}
Functions ¶
func NewGenCmdRun ¶
Types ¶
type CmdConfig ¶
type CmdConfig struct { Url string // subscription link OutputFile string // xray-core's configuration path DetectLatency bool // detect latency to select the best server DetectUrl string // detect latency url DetectThreadNumber int // detect latency threads number XrayCorePath string // xray-core path, for some case such as: speed test XraySocksPort int // xray-core listen socks port XrayHttpPort int // xray-core listen http port }
CmdConfig config for command: xraysub gen
type Link ¶
type Link struct { SsCfg *protocol.ShadowsocksConfig VmessCfg *protocol.VmessConfig TrojanCfg *protocol.TrojanConfig }
Click to show internal directories.
Click to hide internal directories.