Documentation ¶
Index ¶
- type Client
- func (c *Client) GetMunicipalities(province Province) ([]Municipality, error)
- func (c *Client) GetMunicipalitySuburbs(req GetMunicipalitySuburbsRequest) ([]Suburb, error)
- func (c *Client) GetSchedule(req GetScheduleRequest) (*Schedule, error)
- func (c *Client) GetStatus() (Stage, error)
- func (c *Client) SearchSuburbs(req SearchSuburbsRequest) ([]SearchSuburb, error)
- type GetMunicipalitySuburbsRequest
- type GetMunicipalitySuburbsResponse
- type GetScheduleRequest
- type Municipality
- type Province
- type Schedule
- type ScheduleDay
- type ScheduleSlot
- type ScheduleSlotByDay
- type ScheduleSlotByStart
- type SearchSuburb
- type SearchSuburbsRequest
- type Stage
- type Suburb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client export
func (*Client) GetMunicipalities ¶
func (c *Client) GetMunicipalities(province Province) ([]Municipality, error)
GetMunicipalities export
func (*Client) GetMunicipalitySuburbs ¶
func (c *Client) GetMunicipalitySuburbs(req GetMunicipalitySuburbsRequest) ([]Suburb, error)
GetMunicipalitySuburbs export
func (*Client) GetSchedule ¶
func (c *Client) GetSchedule(req GetScheduleRequest) (*Schedule, error)
GetSchedule export
func (*Client) SearchSuburbs ¶
func (c *Client) SearchSuburbs(req SearchSuburbsRequest) ([]SearchSuburb, error)
SearchSuburbs export
type GetMunicipalitySuburbsRequest ¶
GetMunicipalitySuburbsRequest export
type GetMunicipalitySuburbsResponse ¶
GetMunicipalitySuburbsResponse export
type GetScheduleRequest ¶
GetScheduleRequest export
type Municipality ¶
Municipality export
type ScheduleDay ¶
type ScheduleDay struct { Date time.Time Slots []ScheduleSlot }
ScheduleDay export
type ScheduleSlot ¶
ScheduleSlot export
type ScheduleSlotByDay ¶
type ScheduleSlotByDay []ScheduleDay
func (ScheduleSlotByDay) Len ¶
func (a ScheduleSlotByDay) Len() int
func (ScheduleSlotByDay) Less ¶
func (a ScheduleSlotByDay) Less(i, j int) bool
func (ScheduleSlotByDay) Swap ¶
func (a ScheduleSlotByDay) Swap(i, j int)
type ScheduleSlotByStart ¶
type ScheduleSlotByStart []ScheduleSlot
func (ScheduleSlotByStart) Len ¶
func (a ScheduleSlotByStart) Len() int
func (ScheduleSlotByStart) Less ¶
func (a ScheduleSlotByStart) Less(i, j int) bool
func (ScheduleSlotByStart) Swap ¶
func (a ScheduleSlotByStart) Swap(i, j int)
type SearchSuburb ¶
type SearchSuburb struct { ID int `json:"Id"` Total int `json:"Total"` Municipality string `json:"MunicipalityName"` Province string `json:"ProvinceName"` Suburb string `json:"Name"` }
SearchSuburb export
type SearchSuburbsRequest ¶
SearchSuburbsRequest export
Click to show internal directories.
Click to hide internal directories.