Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Log represents an active zerolog object Log *zerolog.Logger )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { ID string Name string Args []string RootPath string AppPath string DataPath string WorkingDir string Process string // contains filtered or unexported fields }
App represents an active app object
func NewWithCfg ¶
NewWithCfg creates new app instance with an app config
func (*App) ErrorBox ¶
func (app *App) ErrorBox(msg interface{})
ErrorBox display an error message box
type Common ¶
type Common struct { Args []string `yaml:"args" mapstructure:"cmd_switches"` Env map[string]string `yaml:"env" mapstructure:"env"` }
Common holds common configuration data
Click to show internal directories.
Click to hide internal directories.