PKGBUILD/pkg/logfile/interfaces.go

14 lines
389 B
Go

package logfile
import (
"github.com/go-flucky/flucky/pkg/types"
)
type Logfile interface {
Append(compression bool, measuredValues []types.MeasuredValue) error
Read() ([]types.MeasuredValue, error)
// ReadCustom(r io.Reader) ([]types.MeasuredValue, error)
Write(measuredValues []types.MeasuredValue) error
// WriteCustom(w io.Writer, measuredValues []types.MeasuredValue) error
}