resiliency

package
v0.0.0-...-2af345c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPCRateLimit

func GRPCRateLimit() grpc.UnaryServerInterceptor

GRPCRateLimit returns a new unary server interceptors that performs request rate limiting

func HTTPRateLimit

func HTTPRateLimit(next http.Handler) http.Handler

HTTPRateLimit returns an http handler that performs request rate limiting

Types

This section is empty.

Jump to

Keyboard shortcuts

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