options

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type F

type F func(*O)

func WithPerConnectionLimiter

func WithPerConnectionLimiter(rps rate.Limit, burst no) F

func WithSkipEventFunc

func WithSkipEventFunc(skipEventFunc func(*event.T) bo) F

type O

type O struct {
	PerConnectionLimiter *rate.Limiter
	SkipEventFunc        func(*event.T) bo
}

func Default

func Default() *O

Jump to

Keyboard shortcuts

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