backend

package
v0.0.0-...-037d887 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWeather

func GetWeather(location, date string) (*pb.Weather, error)

GetWeather retrieves weather

func SetUpRedis

func SetUpRedis()

SetUpRedis sets up redis

Types

type Server

type Server struct{}

Server is used to implement pb.DatabaseService

func (*Server) GetWeather

func (s *Server) GetWeather(ctx context.Context, in *pb.LocationAndDate) (*pb.Weather, error)

GetWeather implements pb.WeatherService.Create

Jump to

Keyboard shortcuts

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