Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBooking ¶
func CreateBooking(s storage.Storage) http.HandlerFunc
Handler for HTTP Post - "/bookings" Create a new Booking document
func DeleteBooking ¶
func DeleteBooking(s storage.Storage) http.HandlerFunc
Handler for HTTP Delete - "/bookins" Delete a new Booking document
func GetBookings ¶
func GetBookings(s storage.Storage) http.HandlerFunc
Handler for HTTP Get - "/bookings" Get all Bookings
func GetLiveness ¶
func GetLiveness() http.HandlerFunc
func GetReadiness ¶
func GetReadiness(s storage.Storage) http.HandlerFunc
Types ¶
type BookingResource ¶
For Post/Put - /bookings
type BookingsResource ¶
For Get - /bookings
Click to show internal directories.
Click to hide internal directories.