PKGBUILD/pkg/storage/logfile/interfaces.go

12 lines
237 B
Go
Raw Normal View History

package logfile
import (
"github.com/go-flucky/flucky/pkg/types"
)
// Logfile is an interface for various logfiles
type Logfile interface {
Read() ([]*types.MeasuredValue, error)
Write(measuredValues []*types.MeasuredValue) error
}