Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCDialOptions ¶
func GRPCDialOptions(l *zerolog.Logger, enabled bool) []grpc.DialOption
GRPCDialOptions returns gRPC dial options that install unary and stream retry interceptors. When enabled is false, it returns nil.
Types ¶
type RestDoer ¶
type RestDoer struct {
// contains filtered or unexported fields
}
RestDoer retries eligible bodyless GET and HEAD requests.
func NewRestDoer ¶
NewRestDoer wraps inner with REST read retry behavior.
Click to show internal directories.
Click to hide internal directories.