Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CfgBindAddress defines the config flag of the web API binding address. CfgBindAddress = "webapi.bindAddress" // CfgBasicAuthEnabled defines the config flag of the webapi basic auth enabler. CfgBasicAuthEnabled = "webapi.basic_auth.enabled" // CfgBasicAuthUsername defines the config flag of the webapi basic auth username. CfgBasicAuthUsername = "webapi.basic_auth.username" // CfgBasicAuthPassword defines the config flag of the webapi basic auth password. CfgBasicAuthPassword = "webapi.basic_auth.password" )
View Source
const PluginName = "WebAPI"
PluginName is the name of the web API plugin.
Variables ¶
This section is empty.
Functions ¶
func ParseJSONRequest ¶ added in v0.5.8
ParseJSONRequest parses json from HTTP request body into the dest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.