Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APP struct { Retry Retry }
Functions ¶
This section is empty.
Types ¶
type AttrContext ¶
type AttrContext struct {
// contains filtered or unexported fields
}
func Context ¶
func Context(ctx context.Context) AttrContext
func (AttrContext) Register ¶
func (my AttrContext) Register(retry *Retry)
type Attributer ¶
type Attributer interface{ Register(retry *Retry) }
type Retry ¶
type Retry struct {
// contains filtered or unexported fields
}
func NewRetry ¶ added in v1.66.4
func NewRetry(attrs ...Attributer) *Retry
func (*Retry) New ¶
func (*Retry) New(attrs ...Attributer) *Retry
func (*Retry) Set ¶
func (my *Retry) Set(attrs ...Attributer) *Retry
func (*Retry) WithContextAndJitter ¶
Click to show internal directories.
Click to hide internal directories.