Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelBooking ¶
type CancelBooking struct {
BookingID string
}
type CancelBookingHandler ¶
type CancelBookingHandler handler.Command[CancelBooking]
CancelBookingHandler is a logging decorator for the cancelBookingHandler struct.
func NewCancelBookingHandler ¶
func NewCancelBookingHandler(bookings domain.BookingRepository) CancelBookingHandler
type CreateBooking ¶
type CreateBookingHandler ¶
type CreateBookingHandler handler.Command[CreateBooking]
CreateBookingHandler is a logging decorator for the createBookingHandler struct.
func NewCreateBookingHandler ¶
func NewCreateBookingHandler( bookings domain.BookingRepository, validators []domain.BookingValidator, ) CreateBookingHandler
type CreateCampsite ¶
type CreateCampsiteHandler ¶
type CreateCampsiteHandler handler.Command[CreateCampsite]
CreateCampsiteHandler is a logging decorator for the createCampsiteHandler struct.
func NewCreateCampsiteHandler ¶
func NewCreateCampsiteHandler(campsites domain.CampsiteRepository) CreateCampsiteHandler
type UpdateBooking ¶
type UpdateBookingHandler ¶
type UpdateBookingHandler handler.Command[UpdateBooking]
UpdateBookingHandler is a logging decorator for the updateBookingHandler struct.
func NewUpdateBookingHandler ¶
func NewUpdateBookingHandler( bookings domain.BookingRepository, validators []domain.BookingValidator, ) UpdateBookingHandler
Click to show internal directories.
Click to hide internal directories.