limiterproto

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCodes_name = map[int32]string{
	0:   "RateLimitExceeded",
	700: "ErrorOffset",
}
View Source
var ErrCodes_value = map[string]int32{
	"RateLimitExceeded": 0,
	"ErrorOffset":       700,
}
View Source
var (
	ErrLimitExceeded = errGroup.Register(errors.New("rate limit exceeded"), uint64(ErrCodes_RateLimitExceeded))
)

Functions

This section is empty.

Types

type ErrCodes

type ErrCodes int32
const (
	ErrCodes_RateLimitExceeded ErrCodes = 0
	ErrCodes_ErrorOffset       ErrCodes = 700
)

func (ErrCodes) EnumDescriptor

func (ErrCodes) EnumDescriptor() ([]byte, []int)

func (ErrCodes) String

func (x ErrCodes) String() string

Jump to

Keyboard shortcuts

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