Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseHandler ¶
type DatabaseHandler interface { AddUser(User) ([]byte, error) AddEvent(Event) ([]byte, error) AddBookingForUser([]byte, Booking) error AddLocation(Location) (Location, error) FindUser(string, string) (User, error) FindBookingsForUser([]byte) ([]Booking, error) FindEvent([]byte) (Event, error) FindEventByName(string) (Event, error) FindAllAvailableEvents() ([]Event, error) FindLocation(string) (Location, error) FindAllLocations() ([]Location, error) }
Click to show internal directories.
Click to hide internal directories.