Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWrappedStream ¶
func NewWrappedStream(ctx context.Context, stream grpc.ServerStream) grpc.ServerStream
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor is a gRPC stream server interceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor is a gRPC unary server interceptor
Types ¶
type InitRpcServerFunc ¶
type Option ¶
type Option func(*Options)
func InitRpcServer ¶
func InitRpcServer(f InitRpcServerFunc) Option
func UpdateInterval ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is a gRPC transport.
func (*Transport) RequestHeader ¶
RequestHeader returns the request header.
func (*Transport) ResponseHeader ¶
ResponseHeader returns the reply header.
Click to show internal directories.
Click to hide internal directories.