Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRawConfig ¶
func ApplyRawConfig(opt *ClashStartOptions)
func Start ¶
func Start(opt *ClashStartOptions)
Types ¶
type ClashStartOptions ¶
type ClashStartOptions struct { // HomeDir Clash config home directory HomeDir string // SocksListener Clash listener address and port SocksListener string // TrojanProxyServer Trojan proxy listening address and port ProxyServer string ProxyType string ProxyPassword string Proxycipher string Proxyobfs string Proxyobfsparam string Proxyorigin string Proxyprotocol string Proxyprotocolparam string // TrojanProxyServerUdpEnabled Whether UDP is enabled for Trojan Server ProxyServerUdpEnabled bool }
Click to show internal directories.
Click to hide internal directories.