Documentation
¶
Index ¶
- func ConvertXrayJsonToShareText(xrayPath string, textPath string) string
- func CustomUUID(text string) string
- func GetFreePorts(count int) string
- func LoadGeoData(dir string) string
- func ParseShareText(textPath string, xrayPath string) string
- func Ping(datDir string, config string, timeout int, url string, times int) string
- func RegisterDialerController(controller DialerController)
- func RunXray(datDir string, configPath string, maxMemory int64) string
- func StopXray() string
- func XrayVersion() string
- type DialerController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomUUID ¶
func GetFreePorts ¶
https://github.com/phayes/freeport/blob/master/freeport.go GetFreePort asks the kernel for free open ports that are ready to use.
func LoadGeoData ¶
func ParseShareText ¶
func RegisterDialerController ¶
func RegisterDialerController(controller DialerController)
func XrayVersion ¶
func XrayVersion() string
Types ¶
type DialerController ¶
Click to show internal directories.
Click to hide internal directories.