application

package
v1.20.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: BSD-3-Clause Imports: 15 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(runner Runner, err error)

Types

type Application

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

func New

func New(prefix string, scopes ...string) (*Application, error)

func (*Application) ConfigReporter

func (a *Application) ConfigReporter() config.Reporter

func (*Application) Initialize

func (a *Application) Initialize() error

func (*Application) Logger

func (a *Application) Logger() log.Logger

func (*Application) Name

func (a *Application) Name() string

func (*Application) SetLogger

func (a *Application) SetLogger(logger log.Logger)

func (*Application) Terminate

func (a *Application) Terminate()

func (*Application) VersionReporter

func (a *Application) VersionReporter() version.Reporter

type Runner

type Runner interface {
	Initialize() error
	Terminate()

	Run() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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