Documentation ¶
Index ¶
- func End(end uint64) func(bounds *rangeBounds)
- func Range(start, end uint64) func(bounds *rangeBounds)
- func Start(start uint64) func(bounds *rangeBounds)
- type AbortMultipart
- type BuildRangeBounds
- type CompleteMultipart
- type CreateMultipart
- type CreateOptions
- type DeleteOptions
- type ListOptions
- type ObjectPart
- type PreSignOperation
- type PreSignOptions
- type RangeBounds
- type ReadOptions
- type StatOptions
- type WriteMultipart
- type WriteOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbortMultipart ¶
type AbortMultipart struct {
UploadId string
}
type BuildRangeBounds ¶
type BuildRangeBounds func(bounds *rangeBounds)
type CompleteMultipart ¶
type CompleteMultipart struct { UploadId string ObjectParts []ObjectPart }
type CreateMultipart ¶
type CreateMultipart struct { }
type CreateOptions ¶
type CreateOptions struct {
Mode int8
}
type DeleteOptions ¶
type DeleteOptions struct { }
type ListOptions ¶
type ListOptions struct { }
type ObjectPart ¶
type PreSignOperation ¶
type PreSignOperation int
const ( ReadOp PreSignOperation = iota + 1 WriteOp WriteMultipartOp )
func (PreSignOperation) String ¶
func (p PreSignOperation) String() string
type PreSignOptions ¶
type PreSignOptions struct { Op PreSignOperation *ReadOptions *WriteOptions *WriteMultipart Expire time.Duration }
type RangeBounds ¶
func NewBytesRange ¶
func NewBytesRange(offset, size *uint64) RangeBounds
func NewRangeBounds ¶
func NewRangeBounds(opts ...BuildRangeBounds) RangeBounds
type ReadOptions ¶
type StatOptions ¶
type StatOptions struct { }
type WriteMultipart ¶
type WriteOptions ¶
type WriteOptions struct {
Size uint64
}
Click to show internal directories.
Click to hide internal directories.