PKGBUILD/pkg/logger/logger.go
2019-03-04 10:50:20 +01:00

25 lines
426 B
Go

package logger
import (
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
)
type Logger interface {
LogHumidities(humidities []*types.Humidity) error
LogTemperatures(temperatures []*types.Temperature) error
}
type LoggerType string
const (
LogFile LoggerType = "file"
LogRemote = "remote"
)
type LogValue string
const (
LogHumidity LogValue = "humidity"
LogTemperature = "temperature"
)