Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeatherService ¶
type WeatherService struct {
// contains filtered or unexported fields
}
func NewWeatherService ¶
func NewWeatherService(cfg *config.WeatherServiceConfig, httpClient *http.Client, redisClient *redis.Client) *WeatherService
func (*WeatherService) GetCurrentWeather ¶
func (s *WeatherService) GetCurrentWeather(location string) (*model.Weather, error)
Click to show internal directories.
Click to hide internal directories.