adapters

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPersistenceAdapter

type ClientPersistenceAdapter interface {
	GetClients(config *model.ClientSearchConfig) (*[]model.Client, error)
}

type CryptoWebServiceAdapter

type CryptoWebServiceAdapter interface {
	GetCryptoCurrentQuote(symbol symbol.Symbol) (float64, error)
}

type EventServiceAdapter

type EventServiceAdapter interface {
	Send(interface{}) error
}

type LoggerAdapter

type LoggerAdapter interface {
	SetCorrelationID(correlationId string)
	Info(message string, metadata ...interface{})
	Error(err error, message string, metadata ...interface{})
}

type OperationUseCaseAdapter

type OperationUseCaseAdapter interface {
	TriggerOperations(summary summary.Summary) error
}

type TimeAdapter added in v0.1.1

type TimeAdapter interface {
	Now() time.Time
}

Jump to

Keyboard shortcuts

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