ratelimited

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIHandler

func NewAPIHandler(
	wrapped api.Handler,
	domainCache cache.DomainCache,
	userRateLimiter quotas.Policy,
	workerRateLimiter quotas.Policy,
	visibilityRateLimiter quotas.Policy,
	asyncRateLimiter quotas.Policy,
) api.Handler

NewAPIHandler creates a new instance of Handler with ratelimiter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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