app

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRunning    = &SAppError{"app running"}
	ErrService    = &SAppError{"service"}
	ErrInitDB     = &SAppError{"init database"}
	ErrClose      = &SAppError{"close"}
	ErrInitConfig = &SAppError{"init config"}
)

Functions

func InitApp

func InitApp(pArgs []string, pFlags flag.IFlags) (types.IRunner, error)

func NewApp

func NewApp(
	pCfg config.IConfig,
	pPathTo string,
) types.IRunner

Types

type SAppError

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

func (*SAppError) Error

func (err *SAppError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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