Versions in this module Expand all Collapse all v1 v1.0.0 Sep 23, 2016 Changes in this version + func GetBuildingID(buildingCode string) (int, error) + func GetRoomID(building string, room string) (int, error) + func IsRoomAvailable(building string, room string) (bool, error) + type AllBuildings struct + Buildings []Building + func GetAllBuildings() (AllBuildings, error) + type AllBuildingsRequestSOAP struct + Password string + Username string + XMLName struct{} + type AllBuildingsResponseSOAP struct + Result string + XMLName struct{} + type AllRooms struct + Rooms []Room + func GetAllRooms(buildingID int) (AllRooms, error) + type AllRoomsRequestSOAP struct + Buildings []int + Password string + Username string + XMLName struct{} + type AllRoomsResponseSOAP struct + Result string + XMLName struct{} + type Building struct + BuildingCode string + Description string + ID int + type BuildingRequestSOAP struct + Password string + Username string + XMLName struct{} + type BuildingResponseSOAP struct + Result string + XMLName struct{} + type Room struct + Available bool + Description string + ID int + Room string + type RoomAvailability struct + Available bool + type RoomAvailabilityRequestSOAP struct + BookingDate time.Time + EndTime time.Time + Password string + RoomID int + StartTime time.Time + Username string + XMLName struct{} + type RoomAvailabilityResponseSOAP struct + Result string + XMLName struct{} + type RoomResponse struct + Response []RoomAvailability