worker

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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