application

package
v0.0.0-...-165d855 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryAdapter

type QueryAdapter struct {
	Service *as.Service
}

QueryAdapter is an adapter for Hexagonal Architecture Pattern. It is used to communicate with the application layer.

func NewQueryAdapter

func NewQueryAdapter(s *as.Service) QueryAdapter

NewQueryAdapter creates a new *QueryAdapter.

func (QueryAdapter) GetDlrsByFilter

func (a QueryAdapter) GetDlrsByFilter(ctx context.Context, dlrFilter me.DlrFilter) (me.Dlrs, error)

GetDlrsByFilter returns the dlrs that match the given filter.

Jump to

Keyboard shortcuts

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