Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVAAGossipConsumer ¶
func NewVAAGossipConsumer( guardianSets *guardiansets.GuardianSets, deduplicator *deduplicator.Deduplicator, messageQueue chan<- *Message, logger *zap.Logger) *vaaGossipConsumer
NewVAAGossipConsumer creates a new processor instances.
Types ¶
type VAANotifyFunc ¶
VAANotifyFunc is a function to notify saved VAA message.
type VAAPushFunc ¶
VAAPushFunc is a function to push VAA message.
type VAAQueueConsumer ¶
type VAAQueueConsumer struct {
// contains filtered or unexported fields
}
VAAQueueConsumer represents a VAA queue consumer.
func NewVAAQueueConsumer ¶
func NewVAAQueueConsumer( messageQueue <-chan *Message, repository *storage.Repository, notifyFunc VAANotifyFunc, logger *zap.Logger) *VAAQueueConsumer
NewVAAQueueConsumer creates a new VAA queue consumer instances.
func (*VAAQueueConsumer) Start ¶
func (c *VAAQueueConsumer) Start(ctx context.Context)
Start consumes messages from VAA queue and store those messages in a repository.
Click to show internal directories.
Click to hide internal directories.