consumer

package
v0.0.0-...-288396c Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreated

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

func NewAccountCreated

func NewAccountCreated(kafkaURL string, commandBus command.Dispatcher, logger *zap.Logger) AccountCreated

func (AccountCreated) Close

func (c AccountCreated) Close() error

func (AccountCreated) Start

func (c AccountCreated) Start(ctx context.Context) error

type AccountCreatedMessage

type AccountCreatedMessage struct {
	AccountID string `json:"accountId"`
}

type AccountTransactionRecorded

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

func NewAccountTransactionRecorded

func NewAccountTransactionRecorded(
	kafkaURL string,
	commandBus command.Dispatcher,
	logger *zap.Logger,
) AccountTransactionRecorded

func (AccountTransactionRecorded) Close

func (AccountTransactionRecorded) Start

Jump to

Keyboard shortcuts

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