Documentation
¶
Index ¶
- Constants
- func ExpandEnv(s string) string
- func GetAssetLocation(file string) string
- func GetCertLocation(file string) string
- func GetConfDirPath() string
- func GetConfigurationPath() string
- func GetPluginDirectory() string
- func GetToolLocation(file string) string
- func LineSeparator() string
- func NormalizeEnvName(name string) string
- type EnvFlag
Constants ¶
View Source
const ( PluginLocation = "xray.location.plugin" ConfigLocation = "xray.location.config" ConfdirLocation = "xray.location.confdir" ToolLocation = "xray.location.tool" 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" )
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 GetPluginDirectory ¶
func GetPluginDirectory() string
func GetToolLocation ¶
func LineSeparator ¶
func LineSeparator() string
func NormalizeEnvName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.