app

package
v0.0.0-...-aba061b Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ReadRainQueryName = "readRain"

Variables

This section is empty.

Functions

This section is empty.

Types

type RainSensor

type RainSensor interface {
	Read(ctx context.Context) (rain.Rain, error)
}

type ReadRain

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

func NewReadRain

func NewReadRain(rs RainSensor) ReadRain

func (ReadRain) Handle

func (r ReadRain) Handle(ctx context.Context, query cqs.Query) (any, error)

type ReadRainQuery

type ReadRainQuery struct{}

func (ReadRainQuery) Name

func (r ReadRainQuery) Name() string

Jump to

Keyboard shortcuts

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