//
pkg.gl
Category
github.com/raylin666/go-utils
middleware
package
1.4.5
Repository:
https://github.com/raylin666/go-utils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
23 SLOC
#
Functions
Chain
Chain returns a Middleware that specifies the chained handler for endpoint.
HTTPChain
HTTPChain returns a HTTPHandler that specifies the chained handler for HTTP Router.
#
Type aliases
Handler
Handler defines the handler invoked by Middleware.
HTTPHandler
HTTPHandler is a function which receives an http.Handler and returns another http.Handler.
Middleware
Middleware is HTTP/gRPC transport middleware.