app

package
v1.6.16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRunning = &SAppError{"app running"}
	ErrService = &SAppError{"service"}
)

Functions

func InitApp

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

func NewApp

func NewApp(
	pCfg config.IConfig,
	pConsumer types.IRunner,
	pProducer types.IRunner,
) types.IRunner

Types

type SAppError

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

func (*SAppError) Error

func (err *SAppError) Error() string

Jump to

Keyboard shortcuts

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