middleware

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 13 Imported by: 2

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

View Source
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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL