collection

package
v0.34.0-crescendo-prev... Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxRateLimitCommand

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

TxRateLimitCommand will adjust the transaction ingest rate limiter.

func NewTxRateLimitCommand

func NewTxRateLimitCommand(limiter *ingest.AddressRateLimiter) *TxRateLimitCommand

func (*TxRateLimitCommand) AddOrRemove

func (s *TxRateLimitCommand) AddOrRemove(command string, addresses string) (string, error)

func (*TxRateLimitCommand) Handler

func (s *TxRateLimitCommand) Handler(_ context.Context, req *admin.CommandRequest) (interface{}, error)

func (*TxRateLimitCommand) Validator

func (s *TxRateLimitCommand) Validator(req *admin.CommandRequest) error

type TxRateLimitCommandAddress

type TxRateLimitCommandAddress struct {
	Addresses []string
}

Jump to

Keyboard shortcuts

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