ipLimiter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorMaxLimit added in v0.0.39

func ErrorMaxLimit(format string, args ...interface{}) *errors.Error

ErrorMaxLimit 超过最大限制

func Server

func Server(opts ...Option) middleware.Middleware

Types

type Option

type Option func(*options)

Option is otel option.

func WithBlackList added in v0.0.36

func WithBlackList(enable bool) Option

func WithN

func WithN(n int) Option

func WithSec

func WithSec(sec int) Option

WithSec with constant metadata key value.

Jump to

Keyboard shortcuts

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