minio/pkg/storage/donut/data/data_v1/data.go
2015-03-01 01:16:22 -08:00

29 lines
413 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 int
M int
Technique EncoderTechnique
}
func Write() error {
return errors.New("Not Implemented")
}