dispatcher

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParamsNotPass = errors.New("Request parameter validation failed")
)

Functions

func InitLimiter

func InitLimiter(c *config.LimitConfig) error

func New

func New() core.HubDispatcher

Types

type Limiter

type Limiter struct {
	*throttled.GCRARateLimiter
}

Jump to

Keyboard shortcuts

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