limiter

package
v0.0.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(rate int64, modes ...string) gin.HandlerFunc

Types

type SBucket

type SBucket struct {
	// contains filtered or unexported fields
}

func (*SBucket) IsAccept

func (b *SBucket) IsAccept() bool

IsAccept 是否接受请求

Jump to

Keyboard shortcuts

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