usecase

package
v0.0.0-...-604f23f Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDynatraceClient

type IDynatraceClient interface {
	RecordMessageProcessed(topic string, processingTimeMs float64, success bool)
	RecordError(errorType, topic string)
}

type IGeoKonAPIMessage

type IGeoKonAPIMessage interface {
	GeoKonAPIMessage(message []byte) error
}

type IPublishMessage

type IPublishMessage interface {
	PublishMessage(message []byte, topic string)
}

type UseCase

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

func NewUseCase

func NewUseCase(pub IPublishMessage, srv service.IProcessMessage, dynatrace IDynatraceClient, publishTopic string, l *zerolog.Logger, ctx context.Context) *UseCase

func (*UseCase) GeoKonAPIMessage

func (u *UseCase) GeoKonAPIMessage(message []byte) error

Jump to

Keyboard shortcuts

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