Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAuth ¶
func HandleAuth(workers core.WorkerRegistry, config *config.Config, ws *ws.App) http.HandlerFunc
HandleAuth returns an http.HandlerFunc that writes JSON encoded result of worker node authorization to http response body.
func HandleList ¶
func HandleList(workers core.WorkerRegistry) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes JSON encoded list of workers in registry to http response body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.