Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
Server *http.Server
Router *mux.Router
Logger *zap.Logger
Config *config.Config
}
func Boot ¶
func Boot() *Application
func (*Application) ListenForShutdown ¶
func (app *Application) ListenForShutdown()
func (*Application) Respond ¶
func (app *Application) Respond(response http.ResponseWriter, request *http.Request, data interface{}, status int)
func (*Application) Run ¶
func (app *Application) Run()
Click to show internal directories.
Click to hide internal directories.