Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsClosedConnection ¶
IsClosedConnection returns true if err is an error produced by gRPC on closed connections.
func IsGRPCRequest ¶
IsGRPCRequest returns true if r came from a grpc client.
Its logic is a partial recreation of gRPC's internal checks, see https://github.com/grpc/grpc-go/blob/01de3de/transport/handler_server.go#L61:L69
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.