GRPCClient is any client that supports common pluggable grpc operations.
| 31 | |
| 32 | // GRPCClient is any client that supports common pluggable grpc operations. |
| 33 | type GRPCClient interface { |
| 34 | // Ping is for liveness purposes. |
| 35 | Ping(ctx context.Context, in *proto.PingRequest, opts ...grpc.CallOption) (*proto.PingResponse, error) |
| 36 | } |
| 37 | |
| 38 | // NewConverterFunc returns a function that maps from any error to a business error. |
| 39 | // if the error is unknown it is kept as is, otherwise a converter function will be used. |
no outgoing calls
no test coverage detected