throttling

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interval string `pipelane:"interval"`
}

type Throttling

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

func (*Throttling) Init

func (d *Throttling) Init(ctx *pipelaner.Context) error

func (*Throttling) Interval

func (d *Throttling) Interval() (time.Duration, error)

func (*Throttling) Map

func (d *Throttling) Map(ctx *pipelaner.Context, val any) any

Jump to

Keyboard shortcuts

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