package
0.0.0-20211105144125-e9b145e8b5d4
Repository: https://github.com/pydio/minio-srv.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.