Documentation
¶
Index ¶
Constants ¶
View Source
const ( CONTEXT_KEY_SIZE = "size" CONTEXT_KEY_MD5 = "md5" CONTEXT_KEY_SSE_TYPE = "sse_type" CONTEXT_KEY_ENCRYPTION_KEY = "encrypt_key" CONTEXT_KEY_CIPHER_KEY = "cipher_key" CONTEXT_KEY_STORAGE_CLASS = "storage_class" )
Variables ¶
This section is empty.
Functions ¶
func GetMd5FromCtx ¶
func GetStorClassFromCtx ¶ added in v1.2.0
Types ¶
type PutResult ¶
type PutResult struct {
// bytes written to backend.
Written int64
// object id
ObjectId string
// object content hash sum string.
Etag string
// meta info for this storage driver.
// only storage driver needs to care about this.
// meta will be save by grpc server and transfer it to storage driver.
Meta string
// update time for this object.
//UpdateTime time.Time
UpdateTime int64
}
Click to show internal directories.
Click to hide internal directories.