vacuum

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(bin Bin, mqttClient mqtt.MqttConfig)

Types

type Bin

type Bin struct {
	FilePath string
	Capacity float64
	Seconds  float64
	Unit     string
	Value    string
}

Bin a type to represent the bin

func (*Bin) Update

func (b *Bin) Update()

Update update the bin values

Jump to

Keyboard shortcuts

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