ambient

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

This provides a shim between HTTP GET requests sent by ambient devices, and the providers that may be configured (awn, wunderground)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmbientWeather

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

func (*AmbientWeather) GetAWNHandlerFunc

func (aw *AmbientWeather) GetAWNHandlerFunc(appCtx context.Context) func(http.ResponseWriter, *http.Request)

func (*AmbientWeather) GetWundergroundHandlerFunc

func (aw *AmbientWeather) GetWundergroundHandlerFunc(appCtx context.Context) func(http.ResponseWriter, *http.Request)

func (*AmbientWeather) Init

func (aw *AmbientWeather) Init() *AmbientWeather

Initialize with defaults, set logger from context

func (*AmbientWeather) InitMetrics

func (aw *AmbientWeather) InitMetrics()

Directories

Path Synopsis
This package exists purely to override the net.Listener used by the application's http server.
This package exists purely to override the net.Listener used by the application's http server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳