options

package
v1.2.34 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 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 O

type O func(*T)

func WithPerConnectionLimiter

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

func WithSkipEventFunc

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

type T

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

func Default

func Default() *T

Jump to

Keyboard shortcuts

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