application

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Initialize = AppStatus(iota)
	Starting
	Running
	Stopping
	Unkonwn
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStatus

type AppStatus int

type Application

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

func Default

func Default() *Application

func (*Application) Initialize

func (app *Application) Initialize(fns ...func() error) error

func (*Application) Shutdown

func (app *Application) Shutdown() error

func (*Application) Startup

func (app *Application) Startup() error

type Option

type Option struct {
}

Jump to

Keyboard shortcuts

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