package
0.0.0-20241213042518-056a383d7d4c
Repository: https://github.com/james-lawrence/bw.git
Documentation: pkg.go.dev
# Functions
DebugClientIntercepter prints each rpc invoked.
DebugClientStreamIntercepter prints each stream invocation.
DebugIntercepter prints when each request is initiated and completed.
DebugStreamIntercepter prints when each stream is initiated and completed.
No description provided by the author
IgnoreShutdownErrors ignores common (safe) shutdown errors.
InsecureTLS generate insecure transport credentials.
No description provided by the author
IsNotFound check if the error is a grpc not found status error.
IsUnauthorized checks if its a grpc unauthorized error.
IsUnavailable ...
IsUnimplemented checks if the endpoint is not implemented.
NewCachedClient ...
NewDebugTransportCredentials create debug credentials.
No description provided by the author
Retry the given function if error matches a grpc code.
No description provided by the author
# Structs
CachedClient caches a grpc client for use, when no connection is cached it'll use the provided address and dial options to establish a connection.