Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyRequestData ¶
type GetRequestData ¶
type MultipartRequestData ¶
type PutRequestData ¶
type PutRequestData struct {
Size int64
Md5Sum []byte
Sha256Sum []byte
Metadata map[string]string
MultipartUploadID string
MultipartPartID int
}
func (*PutRequestData) ContentTypeUnknown ¶
func (p *PutRequestData) ContentTypeUnknown() bool
ContentTypeUnknown checks if cType is empty or generic "application/octet-stream"
func (*PutRequestData) MetaContentType ¶
func (p *PutRequestData) MetaContentType() string
MetaContentType looks for Content-Type or content-type key in metadata
Source Files
¶
- structs.go
Click to show internal directories.
Click to hide internal directories.