Documentation ¶
Overview ¶
Package weather implements the server to the spec described by schema/v1/openapi.yaml.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { MaxAge time.Duration TimeNow func() time.Time Openweather openweather.OpenweatherClient Weatherstack weatherstack.WeatherstackClient }
Server implements /v1/weather. See also Register.
Click to show internal directories.
Click to hide internal directories.