package
0.0.0-20240722084848-1331810c0e37
Repository: https://github.com/go-kratos/gateway.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Create instantiates a middleware based on `cfg`.
EndpointFromContext returns endpoint config from context.
FromRequestContext returns request options from context.
No description provided by the author
No description provided by the author
NewRegistry returns a new middleware registry.
NewRequestContext returns a new Context that carries value.
NewRequestOptions new a request options with retry filter.
No description provided by the author
Register registers one middleware.
RegisterV2 registers one v2 middleware.
RequestBackendsFromContext returns backend nodes from context.
SelectorFiltersFromContext returns selector filter from context.
WithRequestBackends with backend nodes into context.
WithSelectorFitler with selector filter into context.

# Variables

No description provided by the author
ErrNotFound is middleware not found.
No description provided by the author

# Structs

RequestOptions is a request option.

# Interfaces

No description provided by the author
No description provided by the author
Registry is the interface for callers to get registered middleware.
No description provided by the author

# Type aliases

Factory is a middleware factory.
No description provided by the author
Middleware is handler middleware.
RoundTripperFunc is an adapter to allow the use of ordinary functions as HTTP RoundTripper.