Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigLocation = "xray.location.config" ConfdirLocation = "xray.location.confdir" AssetLocation = "xray.location.asset" CertLocation = "xray.location.cert" UseReadV = "xray.buf.readv" UseFreedomSplice = "xray.buf.splice" UseVmessPadding = "xray.vmess.padding" UseCone = "xray.cone.disabled" BufferSize = "xray.ray.buffer.size" BrowserDialerAddress = "xray.browser.dialer" XUDPLog = "xray.xudp.show" XUDPBaseKey = "xray.xudp.basekey" TunFdKey = "xray.tun.fd" )
Variables ¶
This section is empty.
Functions ¶
func GetAssetLocation ¶
GetAssetLocation searches for `file` in the env dir, the executable dir, and certain locations
func GetCertLocation ¶ added in v1.250516.0
GetCertLocation searches for `file` in the env dir and the executable dir
func GetConfigurationPath ¶
func GetConfigurationPath() string
func LineSeparator ¶
func LineSeparator() string
func NormalizeEnvName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.