Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads configuration from envs and prints usage if requirements are not fulfilled
Types ¶
type App ¶
App is responsible for initializing and running application
func (App) AddCleanup ¶
func (ch App) AddCleanup(cleanup func())
AddCleanup adds cleanup to cleanup list which is run before application closes
func (App) AddErrCleanup ¶
func (ch App) AddErrCleanup(cleanup func() error)
AddErrCleanup adds cleanup which returns an error to cleanup list which is run before application closes
Click to show internal directories.
Click to hide internal directories.