package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Aug 13, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Get returns the config value.
GetAllConfig is the HTTP handler used to return the all the configs.
GetConfig is the HTTP handler used to return the config value of the given key.
Set update the config by insert a new record into database, for we can make a config version control soon.
Then refresh the config in struct.
SetConfig is the HTTP handler used to set the config value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.