application

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Runner func(app *Application) error
	Config interface{}
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(runner func(app *Application) error, config interface{}) *Application

func (*Application) Context

func (app *Application) Context() *context.WaitStopContext

func (*Application) Start

func (app *Application) Start()

func (*Application) WaitStop

func (app *Application) WaitStop(clearFunc func(ctx *context.WaitStopContext) error)

Jump to

Keyboard shortcuts

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