manager

package
v0.0.0-...-322893a Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(outboxConfig config.OutboxConfig, kafkaConfig config.KafkaConfig, db *sql.DB) (manager.Manager, error)

Types

type CommonManager

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

func (*CommonManager) Await

func (m *CommonManager) Await()

func (*CommonManager) GetDB

func (m *CommonManager) GetDB() *sql.DB

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) 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
JackTT - Gopher 🇻🇳