1 // Copyright 2017 David Ackroyd. All Rights Reserved. 2 // See LICENSE for licensing terms. 3 4 /* 5 `grpc_recovery` are interceptors that recover from gRPC handler panics. 6 7 Server Side Recovery Middleware 8 9 By default a panic will be converted into a gRPC error with `code.Internal`. 10 11 Handling can be customised by providing an alternate recovery function. 12 13 Please see examples for simple examples of use. 14 */ 15 package grpc_recovery 16