uploadable

package
v0.154.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Part

type Part struct {
	// contains filtered or unexported fields
}

func (*Part) ETag

func (part *Part) ETag() string

func (*Part) File added in v0.145.0

func (part *Part) File() *os.File

func (*Part) FileSize added in v0.145.1

func (part *Part) FileSize() int64

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL