Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfigFromJsonBytes ¶
func LoadConfigFromYamlBytes ¶
Types ¶
type ConfigKV ¶ added in v0.4.3
type ConfigKV interface { GetString(key string) string SetString(key, value string) GetInt(key string) int SetInt(key string, value int) ToString() string }
ConfigKV interface provides the means to access configuration.
func LoadConfigKV ¶ added in v0.4.3
Loads the kvs into a kvs configuration instance. Returns an error that indicates if there was a problem loading the configuration.
type ConfigKVError ¶ added in v0.4.3
type ConfigKVError struct {
// contains filtered or unexported fields
}
ConfigKVError represents a configuration error message.
func (*ConfigKVError) Error ¶ added in v0.4.3
func (configError *ConfigKVError) Error() string
Returns the error message.
Click to show internal directories.
Click to hide internal directories.