app

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 33 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommon added in v0.35.0

func NewCommon(config config.AppConfigurer) (*common.Common, error)

func Run added in v0.35.0

func Run(
	config config.AppConfigurer,
	common *common.Common,
	startArgs appTypes.StartArgs,
)

func Start added in v0.36.0

func Start(buildInfo *BuildInfo, integrationTest integrationTypes.IntegrationTest)

Types

type App

type App struct {
	*common.Common

	Config    config.AppConfigurer
	OSCommand *oscommands.OSCommand
	Gui       *gui.Gui
	// contains filtered or unexported fields
}

App is the struct that's instantiated from within main.go and it manages bootstrapping and running the application.

func NewApp

func NewApp(config config.AppConfigurer, test integrationTypes.IntegrationTest, common *common.Common) (*App, error)

NewApp bootstrap a new application

func (*App) Close

func (app *App) Close() error

Close closes any resources

func (*App) Run added in v0.7.1

func (app *App) Run(startArgs appTypes.StartArgs) error

type BuildInfo added in v0.36.0

type BuildInfo struct {
	Commit      string
	Date        string
	Version     string
	BuildSource string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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