service

package
v0.0.0-...-102d0bd Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDCService

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

func NewCDCService

func NewCDCService(client TransactionLogClient) *CDCService

func (*CDCService) ChangeDataCapture

func (service *CDCService) ChangeDataCapture(bytes []byte) error

type NotificationService

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

func NewNotificationService

func NewNotificationService(topic, address string) *NotificationService

func (*NotificationService) Consume

func (s *NotificationService) Consume(handler func([]byte) error)

type TransactionLogClient

type TransactionLogClient interface {
	Create(input *dto.TransactionLog) (output *dto.TransactionLog, err error)
}

Jump to

Keyboard shortcuts

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