cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func NewCache

func NewCache(
	logger logger.Logger,
	patientFetcher patientFetcher,
	treatmentFetcher treatmentFetcher,
) (Cache, error)

func (Cache) FindPatients

func (cache Cache) FindPatients(patientName string) ([]domain.Patient, error)

func (Cache) FindTreatment

func (cache Cache) FindTreatment(treatmentName string) ([]domain.Treatment, error)

Jump to

Keyboard shortcuts

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