clash

package
v0.0.0-...-19cda46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

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)

func Stop

func Stop()

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
	TrojanProxyServer string
	// TrojanProxyServerUdpEnabled Whether UDP is enabled for Trojan Server
	TrojanProxyServerUdpEnabled bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL