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 server interceptor that converts error happened during the call into a response status returned as an error.
func Unary ¶
func Unary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Unary is a unary server interceptor that converts error happened during the call into a response status returned as an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.