queuemngr

package
v0.0.0-...-3ac950e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueManager

type QueueManager struct {
	StakingQueue   client.QueueClient
	UnbondingQueue client.QueueClient
	WithdrawQueue  client.QueueClient
	ExpiryQueue    client.QueueClient
	// contains filtered or unexported fields
}

func NewQueueManager

func NewQueueManager(cfg *config.QueueConfig, logger *zap.Logger) (*QueueManager, error)

func (*QueueManager) PushExpiryEvent

func (qc *QueueManager) PushExpiryEvent(ev *client.ExpiredStakingEvent) error

func (*QueueManager) PushStakingEvent

func (qc *QueueManager) PushStakingEvent(ev *client.ActiveStakingEvent) error

func (*QueueManager) PushUnbondingEvent

func (qc *QueueManager) PushUnbondingEvent(ev *client.UnbondingStakingEvent) error

func (*QueueManager) PushWithdrawEvent

func (qc *QueueManager) PushWithdrawEvent(ev *client.WithdrawStakingEvent) error

func (*QueueManager) ReQueueMessage

func (qc *QueueManager) ReQueueMessage(ctx context.Context, message client.QueueMessage, queueName string) error

requeue message

func (*QueueManager) Start

func (qc *QueueManager) Start() error

func (*QueueManager) Stop

func (qc *QueueManager) Stop() error

Jump to

Keyboard shortcuts

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