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
}
Click to show internal directories.
Click to hide internal directories.