Versions in this module Expand all Collapse all v0 v0.2.0 Nov 30, 2017 Changes in this version + const DefaultConfigFile + const DefaultConfigFileContent + func GetUserConfigFilePath() string + func InstallDefaultUserConfig() error + type Config struct + AccessKeyID string + Connection *http.Client + ConnectionRetries int + ConnectionTimeout int + Host string + JSONDisableUnknownFields bool + LogLevel string + Port int + Protocol string + SecretAccessKey string + URI string + Zone string + func LoadConfigFromContent(content []byte) (*Config, error) + func LoadConfigFromFilepath(filepath string) (*Config, error) + func LoadUserConfig() (*Config, error) + func MustLoadUserConfig() *Config + func New(accessKeyID, secretAccessKey string) (*Config, error) + func NewDefault() (*Config, error) + func (c *Config) LoadConfigFromContent(content []byte) error + func (c *Config) LoadConfigFromFilepath(filepath string) error + func (c *Config) LoadDefaultConfig() error + func (c *Config) LoadUserConfig() error