front

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 5 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
}

Service is the front service implementation.

func New

func New(fc forecaster.Client, lc locator.Client) *Service

New instantiates a new front service.

func (*Service) Forecast

func (s *Service) Forecast(ctx context.Context, ip string) (*genfront.Forecast2, error)

Forecast returns the forecast for the location at the given IP.

Directories

Path Synopsis
clients
cmd
gen

Jump to

Keyboard shortcuts

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