Documentation ¶ Index ¶ Variables func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) func NewApp(pCfg config.IConfig, pConsumer types.IRunner, pProducer types.IRunner) types.IRunner type SAppError func (err *SAppError) Error() string 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 Source Files ¶ View all Source files app.go errors.go init_app.go Click to show internal directories. Click to hide internal directories.