Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Locations map[int]Location
Locations represents all the defined vaccine locations.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
AddressId int `json:"address_id"`
Address string `json:"address"`
Address2 string `json:"address2"`
City string `json:"city"`
Province string `json:"province"`
Country string `json:"country"`
Postal string `json:"postal"`
AddressType string `json:"address_type"`
Phone string `json:"phone"`
PhoneExt interface{} `json:"phone_ext"`
Fax string `json:"fax"`
UserId interface{} `json:"user_id"`
UpdatedAt string `json:"updated_at"`
CreatedAt string `json:"created_at"`
}
Address represents the actual geographic location of a Location.
type Location ¶
type Location struct {
LocId int `json:"loc_id"`
LocName string `json:"loc_name"`
AddressId *int `json:"address_id"`
Lat *string `json:"lat"`
Long *string `json:"long"`
LocWaitlistUrl *string `json:"loc_waitlist_url"`
Address Address `json:"address,omitempty"`
}
Location represents an individual defined vaccine location.
type LocationStatus ¶
type LocationStatus struct {
Id int `json:"id"`
}
func GetAvailabilities ¶
func GetAvailabilities() ([]LocationStatus, error)
type LocationStatusResp ¶
type LocationStatusResp struct {
Success bool `json:"success"`
Data []LocationStatus `json:"data"`
Message interface{} `json:"message"`
Icon interface{} `json:"icon"`
}
Click to show internal directories.
Click to hide internal directories.