app

package
v1.6.19 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRunning        = &SAppError{"app running"}
	ErrService        = &SAppError{"service"}
	ErrClose          = &SAppError{"close"}
	ErrUnknownService = &SAppError{"unknown service"}
	ErrHasDuplicates  = &SAppError{"has duplicates"}
	ErrGetRunners     = &SAppError{"get runners"}
	ErrInitConfig     = &SAppError{"init config"}
)

Functions

func InitApp

func InitApp(
	pArgs []string,
	pDefaultPath string,
	pDefaultParallel uint64,
) (types.IRunner, error)

func NewApp

func NewApp(
	pCfg config.IConfig,
	pRunners []types.IRunner,
) types.IRunner

Types

type SAppError added in v1.6.8

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

func (*SAppError) Error added in v1.6.8

func (err *SAppError) Error() string

Jump to

Keyboard shortcuts

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