api

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capacity

func Capacity(w http.ResponseWriter, r *http.Request)

Capacity handles /api/systeminfo/capacity and returns system capacity

func ListCfgs

func ListCfgs(w http.ResponseWriter, r *http.Request)

ListCfgs lists configurations

func Ping added in v1.5.0

func Ping(w http.ResponseWriter, r *http.Request)

Ping monitor the server status

func ResetCfgs

func ResetCfgs(w http.ResponseWriter, r *http.Request)

ResetCfgs resets configurations from environment variables

func UpdateCfgs

func UpdateCfgs(w http.ResponseWriter, r *http.Request)

UpdateCfgs updates configurations

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL