Documentation ¶
Overview ¶
Package control provides controller extension modules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe is a wrapper for http.ListenAndServe that starts handlers for all registered control modules prior to starting the server. The server caches succesful responses forever.
func Marshal ¶
func Marshal(w http.ResponseWriter, view interface{})
Marshal is used by modules to marshal response to a view request.
func Register ¶
Register is used by modules to register themselves.
The update function updates the config to include module-specific settings. It typically decodes ExtraRaw fields, storing decoded data in the corresponding Extra field.
The handle function registers module-specific HTTP handlers. It is passed a config that has already been updated using the update function.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package control handles config requests from collect-jmx.
|
Package control handles config requests from collect-jmx. |
Package control implements control handlers for collect-statse(8)
|
Package control implements control handlers for collect-statse(8) |
Package control handles config requests from tsp-forwarder.
|
Package control handles config requests from tsp-forwarder. |