weather

package
v0.1.4-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(generator *wgen.Generator, geo *geonames.Client, ow *owm.Client, db *sqlx.DB, logger *zap.Logger) *Service

func (*Service) GetWeather

func (s *Service) GetWeather(userId, location string) (*bytes.Buffer, error)

func (*Service) GetWeatherDaily

func (s *Service) GetWeatherDaily(userId, location string) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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