app

package
v0.0.0-...-6d09ece Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	GitCommit = "dev"
)

Version and GitCommit values overwritten by `-ldflags` in `go build`.

Functions

This section is empty.

Types

type App

type App interface {
	Init()
	Run() error
	Shutdown() error
}

App interface.

type CoreApp

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

CoreApp implements App interface.

func NewCoreApp

func NewCoreApp(config config.Config) *CoreApp

NewCoreApp constructs App.

func (*CoreApp) Init

func (app *CoreApp) Init()

func (*CoreApp) Run

func (app *CoreApp) Run()

Run the App.

func (*CoreApp) Shutdown

func (app *CoreApp) Shutdown()

Shutdown the App.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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