Documentation ¶
Index ¶
- type ServerInterceptor
- func (t *ServerInterceptor) Stream() grpc.StreamServerInterceptor
- func (t *ServerInterceptor) StreamServerInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func (t *ServerInterceptor) Unary() grpc.UnaryServerInterceptor
- func (t *ServerInterceptor) UnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInterceptor ¶
type ServerInterceptor struct{}
func (*ServerInterceptor) Stream ¶
func (t *ServerInterceptor) Stream() grpc.StreamServerInterceptor
func (*ServerInterceptor) StreamServerInterceptor ¶
func (t *ServerInterceptor) StreamServerInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func (*ServerInterceptor) Unary ¶
func (t *ServerInterceptor) Unary() grpc.UnaryServerInterceptor
func (*ServerInterceptor) UnaryServerInterceptor ¶
func (t *ServerInterceptor) UnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
Click to show internal directories.
Click to hide internal directories.