Documentation
¶
Index ¶
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
}
Application represents the application.
func NewApplication ¶
func NewApplication(l log.Logger, s stats.Statter) *Application
NewApplication creates an instance of Application.
func (*Application) IsHealthy ¶
func (a *Application) IsHealthy() error
IsHealthy checks the health of the Application.
func (*Application) Logger ¶
func (a *Application) Logger() log.Logger
Logger returns the Logger attached to the Application.
func (*Application) Statter ¶
func (a *Application) Statter() stats.Statter
Statter returns the Statter attached to the Application.
func (*Application) YourFunction ¶
func (a *Application) YourFunction() error
YourFunction represents your application function.
Click to show internal directories.
Click to hide internal directories.