manager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: GPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(outboxConfig config.OutboxConfig, kafkaConfig config.KafkaConfig, client *mongo.Client) (manager.Manager, error)

Types

type CommonManager

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

func (*CommonManager) Await

func (m *CommonManager) Await()

func (*CommonManager) GetEventHandler

func (m *CommonManager) GetEventHandler() event.EventHandler

func (*CommonManager) GetKafkaConfig

func (m *CommonManager) GetKafkaConfig() config.KafkaConfig

func (*CommonManager) GetKafkaProducer

func (m *CommonManager) GetKafkaProducer() *kafka.Producer

func (*CommonManager) GetMongoClient

func (m *CommonManager) GetMongoClient() *mongo.Client

func (*CommonManager) GetOutboxConfig

func (m *CommonManager) GetOutboxConfig() config.OutboxConfig

func (*CommonManager) SetEventHandler

func (m *CommonManager) SetEventHandler(e event.EventHandler)

func (*CommonManager) Start

func (m *CommonManager) Start() error

Jump to

Keyboard shortcuts

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