middlewares

package
v2.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(ctx context.Context, _ *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, r *http.Request, err error)

func IncomingHeaderMatcher

func IncomingHeaderMatcher(key string) (string, bool)

func OutgoingHeaderMatcher

func OutgoingHeaderMatcher(key string) (string, bool)

func OutgoingTrailerMatcher

func OutgoingTrailerMatcher(key string) (string, bool)

func WithErrorHandler

func WithErrorHandler() runtime.ServeMuxOption

func WithForwardResponseOption

func WithForwardResponseOption() runtime.ServeMuxOption

func WithIncomingHeaderMatcher

func WithIncomingHeaderMatcher() runtime.ServeMuxOption

func WithMarshalerOption

func WithMarshalerOption() runtime.ServeMuxOption

func WithMetadata

func WithMetadata() runtime.ServeMuxOption

func WithOutgoingHeaderMatcher

func WithOutgoingHeaderMatcher() runtime.ServeMuxOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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