middlewares

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Billing

func Billing(client *web3pay.Client) rpc.HandleCallMsgMiddleware

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 MustNewWeb3PayClient

func MustNewWeb3PayClient() (*web3pay.Client, bool)

func RateLimit

func RateLimit(next rpc.HandleCallMsgFunc) rpc.HandleCallMsgFunc

func RateLimitBatch

func RateLimitBatch(next rpc.HandleBatchFunc) rpc.HandleBatchFunc

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