minio/pkg/storage/donut/data/data_v1/data.go

29 lines
417 B
Go

package data_v1
import "errors"
type DataHeader struct {
Key string
Part int
Metadata map[string]string
EncoderParams EncoderParams
}
type EncoderTechnique int
const (
VANDERMONDE EncoderTechnique = iota
CAUCHY
)
type EncoderParams struct {
Length int
K uint8
M uint8
Technique EncoderTechnique
}
func Write() error {
return errors.New("Not Implemented")
}