Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAwsSession ¶
Types ¶
type AmbientWeatherClient ¶
type AmbientWeatherClient struct {
// contains filtered or unexported fields
}
func (*AmbientWeatherClient) GetObservations ¶
func (c *AmbientWeatherClient) GetObservations(station *models.WeatherStation, start time.Time, end time.Time) ([]*models.Observation, error)
func (*AmbientWeatherClient) GetWeatherStations ¶
func (c *AmbientWeatherClient) GetWeatherStations() ([]*models.WeatherStation, error)
type SecretClient ¶
func NewSecretClient ¶
func NewSecretClient(appConfig *config.AppConfig) SecretClient
type SecretManagerClient ¶
type SecretManagerClient struct {
// contains filtered or unexported fields
}
type WeatherDataClient ¶
type WeatherDataClient interface { GetWeatherStations() ([]*models.WeatherStation, error) GetObservations(station *models.WeatherStation, start time.Time, end time.Time) ([]*models.Observation, error) }
func NewWeatherDataClient ¶
func NewWeatherDataClient(appConfig *config.AppConfig, secretClient SecretClient) (WeatherDataClient, error)
Click to show internal directories.
Click to hide internal directories.