query

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetBooking

type GetBooking struct {
	BookingID string
}

type GetBookingHandler

type GetBookingHandler handler.Query[GetBooking, *domain.Booking]

GetBookingHandler is a logging decorator for the getBookingHandler struct.

func NewGetBookingHandler

func NewGetBookingHandler(bookings domain.BookingRepository) GetBookingHandler

type GetCampsites

type GetCampsites struct{}

type GetCampsitesHandler

type GetCampsitesHandler handler.Query[GetCampsites, []*domain.Campsite]

GetCampsitesHandler is a logging decorator for the getCampsitesHandler struct.

func NewGetCampsitesHandler

func NewGetCampsitesHandler(campsites domain.CampsiteRepository) GetCampsitesHandler

type GetVacantDates

type GetVacantDates struct {
	CampsiteID string
	StartDate  string
	EndDate    string
}

type GetVacantDatesHandler

type GetVacantDatesHandler handler.Query[GetVacantDates, []string]

GetVacantDatesHandler is a logging decorator for the getVacantDatesHandler struct.

func NewGetVacantDatesHandler

func NewGetVacantDatesHandler(bookings domain.BookingRepository) GetVacantDatesHandler

Jump to

Keyboard shortcuts

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