29 lines
413 B
Go
Raw Normal View History

2015-03-01 00:27:52 -08:00
package data_v1
import "errors"
type DataHeader struct {
Key string
Part int
Metadata map[string]string
2015-03-01 00:27:52 -08:00
EncoderParams EncoderParams
}
type EncoderTechnique int
const (
VANDERMONDE EncoderTechnique = iota
CAUCHY
)
2015-03-01 00:27:52 -08:00
type EncoderParams struct {
Length int
K int
M int
Technique EncoderTechnique
2015-03-01 00:27:52 -08:00
}
func Write() error {
return errors.New("Not Implemented")
}