Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestBody ¶ added in v0.6.0
func NewProbeMiddleware ¶
func NewProbeMiddleware(log logger.Logger) middleware.Middleware
NewProbeMiddleware returns a new probe middleware.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
Middleware is a probe middleware.
func (*Middleware) GetHandler ¶
func (m *Middleware) GetHandler(metadata middleware.Metadata) (func(next fasthttp.RequestHandler) fasthttp.RequestHandler, error)
GetHandler returns the HTTP handler provided by the middleware.
type RequestMeta ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.