2015-02-01 13:57:57 +00:00
|
|
|
package tusd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
)
|
|
|
|
|
|
|
|
type zeroStore struct{}
|
|
|
|
|
|
|
|
func (store zeroStore) NewUpload(size int64, metaData MetaData) (string, error) {
|
|
|
|
return "", nil
|
|
|
|
}
|
|
|
|
func (store zeroStore) WriteChunk(id string, offset int64, src io.Reader) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (store zeroStore) GetInfo(id string) (FileInfo, error) {
|
|
|
|
return FileInfo{}, nil
|
|
|
|
}
|
|
|
|
|
2015-02-06 21:05:33 +00:00
|
|
|
func (store zeroStore) GetReader(id string) (io.Reader, error) {
|
|
|
|
return nil, ErrNotImplemented
|
|
|
|
}
|