service

package
v0.0.0-...-8a0dab4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSavingToRepository       = errors.New("service: failed to save to repository")
	ErrUpdateStatusInRepository = errors.New("service: failed to update status in repository")
	ErrSavingToRepoRecordOutbox = errors.New("service: failed to save to repository record outbox")
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ProcessMessage(ctx context.Context, msg message.Message) (uuid.UUID, error)
	MarkMessageAsProcessed(ctx context.Context, id uuid.UUID) error
	MessageChan() chan dto.MessageID
	SaveUnsentMessage(dto.MessageID) error
	Statistic() dto.Statistic
	ProcessedCountStatistic(ctx context.Context) (dto.Processed, error)
}

Directories

Path Synopsis
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.

Jump to

Keyboard shortcuts

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