package
1.8.2
Repository: https://github.com/multiversx/mx-chain-go.git
Documentation: pkg.go.dev

# Functions

CreateEndpointThrottlerFromFacade will create a middleware-type of handler to be used in conjunction with special REST API end points that need to be better protected.
NewGlobalThrottler creates a new instance of a globalThrottler.
NewResponseLoggerMiddleware returns a new instance of responseLoggerMiddleware.
NewSourceThrottler creates a new instance of a sourceThrottler.

# Variables

ErrInvalidMaxNumRequests signals that a provided number of requests is invalid.
ErrTooManyRequests signals that too many requests were simultaneously received.