Documentation ¶
Overview ¶
Package middleware implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Package middlewares implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Package middleware implements the functions, types, and interfaces for the module.
Index ¶
- Constants
- type Handler
- type Middleware
- func Chain(m ...Middleware) Middleware
- func CircuitBreakerClient(ms []Middleware, ok bool) []Middleware
- func Empty() Middleware
- func MetadataClient(ms []Middleware, ok bool, cmm *configv1.Middleware_Metadata) []Middleware
- func MetadataServer(ms []Middleware, ok bool, cmm *configv1.Middleware_Metadata) []Middleware
- func NewClient(cfg *configv1.Middleware) []Middleware
- func NewServer(cfg *configv1.Middleware) []Middleware
- func RateLimitServer(ms []Middleware, cfg *configv1.Middleware_RateLimiter) []Middleware
- func Recovery(ms []Middleware, ok bool) []Middleware
- func TracingClient(ms []Middleware, ok bool) []Middleware
- func TracingServer(ms []Middleware, ok bool) []Middleware
- func Validate(ms []Middleware, ok bool, validator *configv1.Middleware_Validator) []Middleware
Constants ¶
const Type = "middleware"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler = middleware.Handler
type Middleware ¶
type Middleware = middleware.Middleware
func Chain ¶
func Chain(m ...Middleware) Middleware
Chain returns a middleware that executes a chain of middleware.
func CircuitBreakerClient ¶
func CircuitBreakerClient(ms []Middleware, ok bool) []Middleware
func Empty ¶
func Empty() Middleware
func MetadataClient ¶
func MetadataClient(ms []Middleware, ok bool, cmm *configv1.Middleware_Metadata) []Middleware
func MetadataServer ¶
func MetadataServer(ms []Middleware, ok bool, cmm *configv1.Middleware_Metadata) []Middleware
func NewClient ¶
func NewClient(cfg *configv1.Middleware) []Middleware
func NewServer ¶
func NewServer(cfg *configv1.Middleware) []Middleware
func RateLimitServer ¶
func RateLimitServer(ms []Middleware, cfg *configv1.Middleware_RateLimiter) []Middleware
func Recovery ¶
func Recovery(ms []Middleware, ok bool) []Middleware
func TracingClient ¶
func TracingClient(ms []Middleware, ok bool) []Middleware
func TracingServer ¶
func TracingServer(ms []Middleware, ok bool) []Middleware
func Validate ¶
func Validate(ms []Middleware, ok bool, validator *configv1.Middleware_Validator) []Middleware
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package optimize implements the functions, types, and interfaces for the module.
|
Package optimize implements the functions, types, and interfaces for the module. |
Package validate implements the functions, types, and interfaces for the module.
|
Package validate implements the functions, types, and interfaces for the module. |