Merge pull request #230 from fkautz/pr_out_adding_data_go_does_nothing_for_now
This commit is contained in:
commit
91c48e8d73
1 changed files with 23 additions and 0 deletions
23
pkg/storage/donut/data/data_v1/data.go
Normal file
23
pkg/storage/donut/data/data_v1/data.go
Normal file
|
@ -0,0 +1,23 @@
|
|||
package data_v1
|
||||
|
||||
import "errors"
|
||||
|
||||
type DataHeader struct {
|
||||
Key string
|
||||
Part int
|
||||
ContentType string
|
||||
Length uint64
|
||||
Md5sum []byte
|
||||
EncoderParams EncoderParams
|
||||
}
|
||||
|
||||
type EncoderParams struct {
|
||||
Length int
|
||||
K int
|
||||
M int
|
||||
Technique int
|
||||
}
|
||||
|
||||
func Write() error {
|
||||
return errors.New("Not Implemented")
|
||||
}
|
Loading…
Reference in a new issue