Documentation
¶
Index ¶
- type Part
- type Uploadable
- func (uploadable *Uploadable) AppendPart(number uint32, eTag string) error
- func (uploadable *Uploadable) AppendPartLocal(number uint32, r io.Reader) error
- func (uploadable *Uploadable) GetPart(number uint32) *Part
- func (uploadable *Uploadable) ID() (string, bool)
- func (uploadable *Uploadable) IDOrCompute(compute func() (string, error)) (string, error)
- func (uploadable *Uploadable) Local() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uploadable ¶
type Uploadable struct {
// contains filtered or unexported fields
}
func New ¶
func New(local bool) *Uploadable
func (*Uploadable) AppendPart ¶
func (uploadable *Uploadable) AppendPart(number uint32, eTag string) error
func (*Uploadable) AppendPartLocal ¶ added in v0.145.0
func (uploadable *Uploadable) AppendPartLocal(number uint32, r io.Reader) error
func (*Uploadable) GetPart ¶
func (uploadable *Uploadable) GetPart(number uint32) *Part
func (*Uploadable) ID ¶
func (uploadable *Uploadable) ID() (string, bool)
func (*Uploadable) IDOrCompute ¶
func (uploadable *Uploadable) IDOrCompute(compute func() (string, error)) (string, error)
func (*Uploadable) Local ¶ added in v0.145.0
func (uploadable *Uploadable) Local() bool
Click to show internal directories.
Click to hide internal directories.