mirror of
https://github.com/versity/versitygw.git
synced 2026-08-18 05:06:27 +00:00
test: more chunked upload tests with different payload types
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package command
|
||||
|
||||
import "io"
|
||||
|
||||
type DataSource interface {
|
||||
SourceDataByteSize() (int64, error)
|
||||
CalculateSHA256HashString() (string, error)
|
||||
Close() error
|
||||
GetReader() (io.Reader, error)
|
||||
GetTeeReader(io.Writer) (io.Reader, error)
|
||||
}
|
||||
Reference in New Issue
Block a user