PKGBUILD/pkg/logfile/interfaces.go

12 lines
237 B
Go

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
}