Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogMiddleware ¶
type LogMiddleware struct { }
func NewLogMiddleware ¶
func NewLogMiddleware() *LogMiddleware
func (*LogMiddleware) Middleware ¶
func (a *LogMiddleware) Middleware() func(next http.Handler) http.Handler
type MetricMiddleware ¶
type MetricMiddleware struct {
// contains filtered or unexported fields
}
func NewMetricMiddleware ¶
func NewMetricMiddleware() *MetricMiddleware
func (*MetricMiddleware) Middleware ¶
func (a *MetricMiddleware) Middleware() func(http.Handler) http.Handler
func (*MetricMiddleware) WithPathConfig ¶ added in v1.0.2
func (a *MetricMiddleware) WithPathConfig(conf PathConfig) *MetricMiddleware
Click to show internal directories.
Click to hide internal directories.