utils

package module
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const Addr addr = iota
View Source
const Array arr = iota
View Source
const Assign ass = iota
View Source
const Captcha captcha = iota
View Source
const Cmd cm = iota
View Source
const Conv conv = iota
View Source
const Crypto crypto = iota
View Source
const Dir di = iota
View Source
const Extract ex = iota
View Source
const File fi = iota
View Source
const Json json = iota
View Source
const Process pro = iota
View Source
const Rand rd = iota
View Source
const Rate rate = iota
View Source
const Signal sig = iota
View Source
const String str = iota
View Source
const Structure structure = iota
View Source
const System system = iota
View Source
const Ternary ternary = iota
View Source
const Time ti = iota
View Source
const Zip zip = iota

Variables

This section is empty.

Functions

This section is empty.

Types

type Allow

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

func (*Allow) Allow

func (a *Allow) Allow() bool

type Limiter

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

func (*Limiter) Global

func (l *Limiter) Global(rate int) *Allow

func (*Limiter) Key

func (l *Limiter) Key(key string, rate int) *Allow

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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