usecase

package
v0.0.0-...-53f0542 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewObservationCountUsecase

func NewObservationCountUsecase(
	uuidp uuid.Provider,
	tp timep.Provider,
	o odomain.Repository,

) *observationCountUsecase

NewObservationCountUsecase Constructor function for the `ObservationCountUsecase` implementation.

Types

type Usecase

type Usecase interface {
	Insert(ctx context.Context, e *osum.ObservationCount) (ee *osum.ObservationCount, err error)
	ListAndCountByFilter(ctx context.Context, ef *osum.ObservationCountFilter) ([]*osum.ObservationCount, uint64, error)
}

Usecase Provides interface for the observation count use cases.

Jump to

Keyboard shortcuts

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