Documentation ¶
Overview ¶
Package proxy provides server and codec for proxying gRPC requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶ added in v0.2.0
Matcher matches the request URI and incoming metadata to the registered rules.
type Option ¶
type Option func(*Server)
Option is a functional option for the server.
func WithGRPCServerOptions ¶
func WithGRPCServerOptions(opts ...grpc.ServerOption) Option
WithGRPCServerOptions sets the gRPC server options.
type RawBytesCodec ¶
type RawBytesCodec struct{}
RawBytesCodec sets the received bytes as-is to the target, whether it is a byte slice or a proto.Message. For proto.Message, it uses proto.Marshal and proto.Unmarshal.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a gRPC server.
type ServerStream ¶ added in v0.2.0
type ServerStream grpc.ServerStream
ServerStream is a gRPC server stream.
Directories ¶
Path | Synopsis |
---|---|
Package middleware contains middlewares for gRPC unknown handlers.
|
Package middleware contains middlewares for gRPC unknown handlers. |
Click to show internal directories.
Click to hide internal directories.