Versions in this module Expand all Collapse all v1 v1.0.2 Mar 17, 2021 Changes in this version + func CheckData(data interface{}) error + func FormatJSONSyntaxError(data io.Reader, offset int64) (highlight string) + func GetVersion(filename string, clnt *etcd.Client) (version string, err error) + func SaveConfig(data interface{}, filename string, clnt *etcd.Client) (err error) + type Config interface + Data func() interface{} + DeepDiff func(Config) ([]structs.Field, error) + Diff func(Config) ([]structs.Field, error) + Load func(string) error + Save func(string) error + String func() string + Version func() string + func LoadConfig(filename string, clnt *etcd.Client, data interface{}) (qc Config, err error) + func NewConfig(data interface{}, clnt *etcd.Client) (cfg Config, err error) + type ConfigEncoding interface + Marshal func(interface{}) ([]byte, error) + Unmarshal func([]byte, interface{}) error