16 lines
424 B
Go
16 lines
424 B
Go
// Copyright 2017 David Ackroyd. All Rights Reserved.
|
|
// See LICENSE for licensing terms.
|
|
|
|
/*
|
|
`grpc_recovery` are interceptors that recover from gRPC handler panics.
|
|
|
|
Server Side Recovery Middleware
|
|
|
|
By default a panic will be converted into a gRPC error with `code.Internal`.
|
|
|
|
Handling can be customised by providing an alternate recovery function.
|
|
|
|
Please see examples for simple examples of use.
|
|
*/
|
|
package grpc_recovery
|