Documentation
¶
Overview ¶
panic.go recovers from panics and converts them into proper gRPC errors instead of crashing the server. the panic errors are converted to INTERNAL_ERROR errors and stack traces are logged.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMacaroon ¶ added in v0.8.0
func StreamInterceptor ¶
func StreamInterceptor(svc *macaroons.Service) grpc.ServerOption
StreamInterceptor returns the stream interceptor with a logrus log
func UnaryInterceptor ¶
func UnaryInterceptor(svc *macaroons.Service) grpc.ServerOption
UnaryInterceptor returns the unary interceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.