Documentation
¶
Index ¶
- type API
- func (a *API) CacheClear()
- func (a *API) CurrentForecast(ctx context.Context, zipCode string, country string, bounds image.Rectangle, ...) (*weatherboard.Forecast, error)
- func (a *API) DailyForecasts(ctx context.Context, zipCode string, country string, bounds image.Rectangle, ...) ([]*weatherboard.Forecast, error)
- func (a *API) HourlyForecasts(ctx context.Context, zipCode string, country string, bounds image.Rectangle, ...) ([]*weatherboard.Forecast, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API ...
func (*API) CurrentForecast ¶
func (a *API) CurrentForecast(ctx context.Context, zipCode string, country string, bounds image.Rectangle, metric bool) (*weatherboard.Forecast, error)
CurrentForecast ...
Click to show internal directories.
Click to hide internal directories.