Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooMuchRequests = errors.New("too much api requests, retry in 5 minutes")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetFuelStationByID ¶ added in v0.2.0
func (*Client) GetFuelStations ¶
type Model ¶
type Model struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Brand string `json:"brand"` Street string `json:"street"` Place string `json:"place"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Distance float64 `json:"distance"` Diesel *float64 `json:"diesel,omitempty"` E5 *float64 `json:"e5,omitempty"` E10 *float64 `json:"e10,omitempty"` IsOpen bool `json:"isOpen,omitempty"` HouseNumber *string `json:"houseNumber,omitempty"` PostCode int `json:"postCode"` OpeningTimes []OpeningTimes `json:"openingTimes"` }
type OpeningTimes ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.