package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Sep 7, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package app provides flags for cli.
ErrNoName is an error in case name is not provided.
Context returns main application context with set logger
that is canceled when SIGTERM or SIGINT is received.
Flags contains flags for cli.
Setup initialize app flags for cli.
type SetupOpts struct {
Name string
}
SetupOpts contains options required for app.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.