Making changes to data based on discussion
This commit is contained in:
parent
1f574d19fc
commit
bb0441917c
1 changed files with 9 additions and 4 deletions
|
@ -5,17 +5,22 @@ import "errors"
|
|||
type DataHeader struct {
|
||||
Key string
|
||||
Part int
|
||||
ContentType string
|
||||
Length uint64
|
||||
Md5sum []byte
|
||||
Metadata map[string]string
|
||||
EncoderParams EncoderParams
|
||||
}
|
||||
|
||||
type EncoderTechnique int
|
||||
|
||||
const (
|
||||
VANDERMONDE EncoderTechnique = iota
|
||||
CAUCHY
|
||||
)
|
||||
|
||||
type EncoderParams struct {
|
||||
Length int
|
||||
K int
|
||||
M int
|
||||
Technique int
|
||||
Technique EncoderTechnique
|
||||
}
|
||||
|
||||
func Write() error {
|
||||
|
|
Loading…
Reference in a new issue