2019-06-19 17:18:01 +00:00
|
|
|
package logfile
|
|
|
|
|
|
|
|
import (
|
2020-01-19 12:30:47 +00:00
|
|
|
"github.com/volker-raschek/flucky/pkg/types"
|
2019-06-19 17:18:01 +00:00
|
|
|
)
|
|
|
|
|
2019-07-14 17:06:26 +00:00
|
|
|
// Logfile is an interface for various logfiles
|
2019-06-19 17:18:01 +00:00
|
|
|
type Logfile interface {
|
2019-07-02 20:33:01 +00:00
|
|
|
Read() ([]*types.MeasuredValue, error)
|
|
|
|
Write(measuredValues []*types.MeasuredValue) error
|
2019-06-19 17:18:01 +00:00
|
|
|
}
|