service

package
v0.0.0-...-147f484 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 13 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL