Help us shape the future of Go! Take the 2026 Go Developer Survey

poll

package
v0.11.796 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	BaseDuration time.Duration
	RetryCount   int
	MaxRetry     int
}

func (*Timer) Duration

func (p *Timer) Duration() time.Duration

func (*Timer) Increase

func (p *Timer) Increase()

func (*Timer) Reset

func (p *Timer) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL