limiter

package module
v0.0.0-...-9ec1488 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

limiter

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Limiter

type Limiter struct {
	// contains filtered or unexported fields
}

func NewLimiter

func NewLimiter(ctx context.Context, number int) (*Limiter, context.Context)

func (*Limiter) Execute

func (l *Limiter) Execute(f func(ctx context.Context) error)

func (*Limiter) Wait

func (l *Limiter) Wait() error

Jump to

Keyboard shortcuts

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