kafka

package
v0.0.0-...-f0852b9 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreatedPublisher

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

func NewAccountCreatedPublisher

func NewAccountCreatedPublisher(host string, port int, topic string, partition int) *AccountCreatedPublisher

func (*AccountCreatedPublisher) PublishAccountCreated

func (a *AccountCreatedPublisher) PublishAccountCreated(ctx context.Context, account domain.Account) error

PublishAccountCreated implements service.AccountCreatedPublisher.

type AccountDeletedPublisher

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

func NewAccountDeletedPublisher

func NewAccountDeletedPublisher(host string, port int, topic string, partition int) *AccountDeletedPublisher

func (*AccountDeletedPublisher) PublishAccountDeleted

func (a *AccountDeletedPublisher) PublishAccountDeleted(ctx context.Context, id uuid.UUID) error

PublishAccountDeleted implements service.AccountDeletedPublisher.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳