service

package
v0.0.0-...-5c6e8b3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Start(onPrematureStop func()) error
	Stop() error
	AwaitShutdown()
}

The Service interface contains all the behavior a component must implement in order to be considered a proper service.

func NewInterrupterService

func NewInterrupterService(logger lager.Logger) Service

Jump to

Keyboard shortcuts

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