Documentation ¶
Index ¶
- Constants
- func ExpandEnv(s string) string
- func GetAssetLocation(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" 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 certain locations
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.