ratelimitstore

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ratelimitstore package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	TakeMany(ctx context.Context, key string, takeAmount uint64) (tokens, remaining, reset uint64, ok bool, err error)
}

Store is an interface for rate limiter backends

Jump to

Keyboard shortcuts

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