Documentation
¶
Index ¶
- type Application
- func (a *Application) BuiltAt() time.Time
- func (a *Application) Environment() string
- func (a *Application) ID() string
- func (a *Application) LongDesc() string
- func (a *Application) LookupEnv(key string) (string, bool)
- func (a *Application) Name() string
- func (a *Application) ShortDesc() string
- func (a *Application) StartedAt() time.Time
- func (a *Application) Version() string
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) BuiltAt ¶
func (a *Application) BuiltAt() time.Time
func (*Application) Environment ¶
func (a *Application) Environment() string
func (*Application) ID ¶
func (a *Application) ID() string
func (*Application) LongDesc ¶
func (a *Application) LongDesc() string
func (*Application) Name ¶
func (a *Application) Name() string
func (*Application) ShortDesc ¶
func (a *Application) ShortDesc() string
func (*Application) StartedAt ¶
func (a *Application) StartedAt() time.Time
func (*Application) Version ¶
func (a *Application) Version() string
type Option ¶
type Option func(*Application) error
func WithBuiltAt ¶
func WithLongDesc ¶
func WithShortDesc ¶
func WithVersion ¶
Click to show internal directories.
Click to hide internal directories.