ratelimit

package
v0.0.0-...-a452e14 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

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

Middleware is an oAuth2 authentication middleware

func NewRateLimitMiddleware

func NewRateLimitMiddleware(logger logger.Logger) *Middleware

NewRateLimitMiddleware returns a new oAuth2 middleware

func (*Middleware) GetHandler

GetHandler returns the HTTP handler provided by the middleware

Jump to

Keyboard shortcuts

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