Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncomingHeaderMatcher ¶
IncomingHeaderMatcher will rewrite HTTP header keys into gRPC header keys. All remaining headers are treated with the default policy. The header comparison is case-insensitive.
Types ¶
type Gateway ¶
type Gateway interface { HttpMux() *runtime.ServeMux GrpcDialOpts() []grpc.DialOption Context() context.Context DialOptsWithUnaryInterceptors(interceptors ...grpc.UnaryClientInterceptor) []grpc.DialOption }
type Option ¶
type Option func(*Options)
func ResponseInterceptor ¶
func ResponseInterceptor(interceptor ResponseInterceptorFunc) Option
func WithServeMuxOptions ¶
func WithServeMuxOptions(opts ...runtime.ServeMuxOption) Option
type Options ¶
type Options struct { ResponseInterceptor ResponseInterceptorFunc ServeMuxOpts []runtime.ServeMuxOption }
type ResponseInterceptorFunc ¶
Click to show internal directories.
Click to hide internal directories.