Documentation ¶
Index ¶
- func GatewayHeaderMatcherFunc(withDefault bool, opts ...Option) runtime.HeaderMatcherFunc
- func GatewayMetadataAnnotator(opts ...Option) func(context.Context, *http.Request) metadata.MD
- func StreamClientInterceptor(opts ...Option) grpc.StreamClientInterceptor
- func UnaryClientInterceptor(opts ...Option) grpc.UnaryClientInterceptor
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatewayHeaderMatcherFunc ¶
func GatewayHeaderMatcherFunc(withDefault bool, opts ...Option) runtime.HeaderMatcherFunc
func StreamClientInterceptor ¶
func StreamClientInterceptor(opts ...Option) grpc.StreamClientInterceptor
StreamClientInterceptor returns a new streaming client interceptor for metadata.
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(opts ...Option) grpc.UnaryClientInterceptor
UnaryClientInterceptor returns a new unary client interceptor for metadata.
Types ¶
type Option ¶
type Option func(option *options)
func WithHeader ¶
func WithHeaderReplace ¶
func WithPrefix ¶
func WithPrefixReplace ¶
Click to show internal directories.
Click to hide internal directories.