From 2916b1278ea765b34411840b78e609a081b977da Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sun, 1 Mar 2015 00:27:52 -0800 Subject: [PATCH] Adding data.go, does nothing for now. --- pkg/storage/donut/data/data_v1/data.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/storage/donut/data/data_v1/data.go diff --git a/pkg/storage/donut/data/data_v1/data.go b/pkg/storage/donut/data/data_v1/data.go new file mode 100644 index 000000000..0cc9b7ee0 --- /dev/null +++ b/pkg/storage/donut/data/data_v1/data.go @@ -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") +}