package
3.0.0+incompatible
Repository: https://github.com/openmpdk/dss-minio.git
Documentation: pkg.go.dev
# Functions
CheckData - checks the validity of config data.
CheckDuplicateKeys - checks for duplicate entries in a JSON file.
FormatJSONSyntaxError generates a pretty printed json syntax error since golang doesn't provide an easy way to report the location of the error.
GetVersion - extracts the version information.
LoadConfig - loads json config from filename for the a given struct data.
NewConfig loads config from etcd client if provided, otherwise loads from a local filename.
SaveConfig - saves given configuration data into given file as JSON.
# Interfaces
Config - generic config interface functions.
ConfigEncoding is a generic interface which marshal/unmarshal configuration.