core: v2ray.com/core/common/platform Index | Files | Directories

package platform

import "v2ray.com/core/common/platform"

Index

Package Files

others.go platform.go

func ExpandEnv Uses

func ExpandEnv(s string) string

func GetAssetLocation Uses

func GetAssetLocation(file string) string

func GetConfigurationPath Uses

func GetConfigurationPath() string

func GetPluginDirectory Uses

func GetPluginDirectory() string

func GetToolLocation Uses

func GetToolLocation(file string) string

func LineSeparator Uses

func LineSeparator() string

func NormalizeEnvName Uses

func NormalizeEnvName(name string) string

type EnvFlag Uses

type EnvFlag struct {
    Name    string
    AltName string
}

func NewEnvFlag Uses

func NewEnvFlag(name string) EnvFlag

func (EnvFlag) GetValue Uses

func (f EnvFlag) GetValue(defaultValue func() string) string

func (EnvFlag) GetValueAsInt Uses

func (f EnvFlag) GetValueAsInt(defaultValue int) int

Directories

PathSynopsis
ctlcmd
filesystem

Package platform imports 4 packages (graph) and is imported by 24 packages. Updated 2019-02-26. Refresh now. Tools for package owners.