mirror of
https://github.com/minio/minio.git
synced 2025-01-13 07:53:21 -05:00
Merge pull request #232 from fkautz/pr_out_making_changes_to_data_based_on_discussion
This commit is contained in:
commit
c290b360e4
@ -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 New Issue
Block a user