Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPMetrics ¶
func HTTPMetrics(appName string) echo.MiddlewareFunc
HTTPMetrics is the middleware function that logs duration of responses.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is application with all dependencies.
func New ¶
func New(appName string, verbose bool, hc HttpConfig, dbc *pg.DB) *App
New is a function that returns new application instance.
type HttpConfig ¶
Click to show internal directories.
Click to hide internal directories.