Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "configuration.toml"
View Source
const PathId = "/id/"
View Source
const PathName = "/name/"
View Source
const SampleConfigFileName = "sample-configuration.toml"
Variables ¶
View Source
var DefaultConfigFile = filepath.Join(os.Getenv("HOME"), ".edgex-cli", ConfigFileName)
Functions ¶
func LoadConfig ¶
func LoadConfig(env Environment) error
Types ¶
type ClientInfo ¶
type Configuration ¶
type Configuration struct {
Clients ClientInfo
}
Configuration struct will use this to write config file eventually
var Conf Configuration
type Environment ¶
func NewViperEnv ¶
func NewViperEnv() Environment
Click to show internal directories.
Click to hide internal directories.