Help us shape the future of Go! Take the 2026 Go Developer Survey

cache

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: BSD-3-Clause Imports: 5 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,
	dataFetchers dataFetchers,
) (Cache, error)

func (Cache) FindAppointments added in v1.2.0

func (cache Cache) FindAppointments(
	startDate schedule.JaneTime,
	endDate schedule.JaneTime,
	patientName string,
) ([]schedule.Appointment, 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