Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultBlockSize = 10 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockHash ¶
BlockHash is a hash.Hash implementation that compute sub-hashes on each blocks of BlockSize and re-hash them together at the end. It is uses to provide a stable hashing algorithm for standard PUT Object requests vs Multipart Uploads. Bewre that this implies that the Multipart PartSize must be a multiple of this block size.
type HashCloser ¶
type HashCloser interface {
Close()
}
Click to show internal directories.
Click to hide internal directories.