middlewares

package
v1.1.5-mainnet-patch-1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Web3PayBillingMode      = "billing"
	Web3PaySubscriptionMode = "subscription"
)

Variables

This section is empty.

Functions

func Allowlists

func Allowlists(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func AntiInjection

func AntiInjection(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func Auth

func Auth() rpc.HandleCallMsgMiddleware

func Authenticate

func Authenticate(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func DailyMaxReqRateLimit

func DailyMaxReqRateLimit(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func Log

func Log(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func LogBatch

func LogBatch(next rpc.HandleBatchFunc) rpc.HandleBatchFunc

func Metrics

func Metrics(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func MetricsBatch

func MetricsBatch(next rpc.HandleBatchFunc) rpc.HandleBatchFunc

func MustNewWeb3PayMiddlewareFromViper

func MustNewWeb3PayMiddlewareFromViper() (rpc.HandleCallMsgMiddleware, *web3payConfig, bool)

func QpsRateLimit

func QpsRateLimit(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func Recover

func Recover(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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