controller

package
v0.0.0-...-c43ceac Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationController

type LocationController interface {
	CreateLocation(name string) (*telemetry.Location, error)
	GetLocations() ([]*telemetry.Location, error)
}

func NewLocationController

func NewLocationController(locationStore store.LocationStore) LocationController

type TempController

type TempController interface {
	CreateTemp(temp float32, locationId int32) (*empty.Empty, error)
	GetTemp(locationId int32) ([]float32, error)
}

func NewTempController

func NewTempController(tempStore store.TempStore) TempController

Jump to

Keyboard shortcuts

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