PKGBUILD/pkg/logfile/interfaces.go

12 lines
257 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)
Write(measuredValues []types.MeasuredValue) error
}