Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookingRepository ¶
type BookingRepository interface { CreateBooking(ctx context.Context, booking *models.Booking) (*models.Booking, error) GetBookingByID(ctx context.Context, id string) (*models.Booking, error) GetBookingsPaginated(ctx context.Context, afterCursor string, limit int) ([]models.Booking, string, error) GetDestinationById(ctx context.Context, id string) (*models.Destination, error) GetFlights(ctx context.Context, filters map[string]interface{}) ([]models.Flight, error) IsLaunchPadWeekAvailable(ctx context.Context, launchpadId, destinationId string, t time.Time) (bool, error) DeleteBooking(ctx context.Context, id string) error }
type BookingService ¶
Click to show internal directories.
Click to hide internal directories.