handler

package
v0.0.0-...-09c6cb6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "handler"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(scratchRoot string) *handler

Types

type Config

type Config struct {
	ScratchRoot string `env:"scratch_root" default:"/tmp"`
}

type Handler

type Handler interface {
	Handle(message *message.BuildMessage, logger nacelle.Logger) error
}

type Initializer

type Initializer struct {
	Services nacelle.ServiceContainer `service:"services"`
}

func NewInitializer

func NewInitializer() *Initializer

func (*Initializer) Init

func (i *Initializer) Init(config nacelle.Config) error

Jump to

Keyboard shortcuts

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