workers

package
v0.0.0-...-d75abfd Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChief

func GetChief(logger *logrus.Entry, workers []uwe.WorkerName) uwe.Chief

func GetRouter

func GetRouter(logger *logrus.Entry, config *config.Configuration) http.Handler

func NewWorker

func NewWorker(logger *logrus.Entry) uwe.Worker

func Server

func Server(entry *logrus.Entry, cfg *config.Configuration) *api.Server

Types

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func (*Worker) Init

func (d *Worker) Init() error

func (Worker) Run

func (d Worker) Run(wCtx uwe.Context) error

Jump to

Keyboard shortcuts

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