Documentation ¶
Index ¶
- Constants
- func Run(runner Runner, err error) int
- type Application
- func (a *Application) ConfigReporter() config.Reporter
- func (a *Application) Initialize() error
- func (a *Application) Logger() log.Logger
- func (a *Application) Name() string
- func (a *Application) Prefix() string
- func (a *Application) Terminate()
- func (a *Application) UserAgent() string
- func (a *Application) VersionReporter() version.Reporter
- type Runner
Constants ¶
View Source
const ( Success = 0 Failure = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) ConfigReporter ¶
func (a *Application) ConfigReporter() config.Reporter
func (*Application) Initialize ¶
func (a *Application) Initialize() error
func (*Application) Logger ¶
func (a *Application) Logger() log.Logger
func (*Application) Name ¶
func (a *Application) Name() string
func (*Application) Prefix ¶ added in v1.22.0
func (a *Application) Prefix() string
func (*Application) Terminate ¶
func (a *Application) Terminate()
func (*Application) UserAgent ¶ added in v1.22.0
func (a *Application) UserAgent() string
func (*Application) VersionReporter ¶
func (a *Application) VersionReporter() version.Reporter
Click to show internal directories.
Click to hide internal directories.