Documentation
¶
Index ¶
- type Bookings
- func (store *Bookings) AddBooking(ctx context.Context, b booking.Booking) error
- func (store *Bookings) Close() error
- func (store *Bookings) DeleteBooking(ctx context.Context, id booking.ID) error
- func (store *Bookings) GetAllBookingsForDate(ctx context.Context, date time.Time) ([]booking.Booking, error)
- func (store *Bookings) GetDeskBookings(ctx context.Context, desk string) ([]booking.Booking, error)
- func (store *Bookings) GetFutureBookingsForUser(ctx context.Context, user string) ([]booking.Booking, error)
- type Desks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bookings ¶
type Bookings struct {
// contains filtered or unexported fields
}
func OpenBookingDatabase ¶
func (*Bookings) AddBooking ¶
func (*Bookings) DeleteBooking ¶
func (*Bookings) GetAllBookingsForDate ¶
func (*Bookings) GetDeskBookings ¶
Click to show internal directories.
Click to hide internal directories.