api

package
v0.0.0-...-ee2e90e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CEPFromAPI

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

func NewCEPFromAPI

func NewCEPFromAPI(cnf *config.Config) *CEPFromAPI

func (*CEPFromAPI) Get

func (cap *CEPFromAPI) Get(ctx context.Context, cep string) (entity.Location, error)

type WeatherFromAPI

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

func NewWeatherFromAPI

func NewWeatherFromAPI(cnf *config.Config) *WeatherFromAPI

func (*WeatherFromAPI) Get

func (wap *WeatherFromAPI) Get(ctx context.Context, location string) (entity.Temperature, error)

Jump to

Keyboard shortcuts

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