Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Stream ¶
func Stream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
Stream is a stream server interceptor that puts cancel codes on errors from canceled contexts.
func Unary ¶
func Unary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Unary is a unary server interceptor that puts cancel codes on errors from canceled contexts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.