minio/vendor/github.com/tidwall
Anis Elleuch 3099af70a3 Add admin get/set config keys API (#6113)
This PR adds two new admin APIs in Minio server and madmin package:
- GetConfigKeys(keys []string) ([]byte, error)
- SetConfigKeys(params map[string]string) (err error)

A key is a path in Minio configuration file, (e.g. notify.webhook.1)

The user will always send a string value when setting it in the config file,
the API will know how to convert the value to the appropriate type. The user
is also able to set a raw json.

Before setting a new config, Minio will validate all fields and try to connect
to notification targets if available.
2018-09-06 20:33:18 +05:30
..
gjson Upgrade gjson to bring in new performance improvements (#6106) 2018-07-02 13:31:11 -07:00
match performance: gjson parsing for readXLMeta, listParts, getObjectInfo. (#2631) 2016-09-13 21:18:30 -07:00
sjson Add admin get/set config keys API (#6113) 2018-09-06 20:33:18 +05:30