app

package
v0.66.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 37 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, log *logrus.Entry) (*common.Common, error)

func NewLogger added in v0.65.1

func NewLogger(debug bool) *logrus.Entry

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