uploadable

package
v0.137.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: AGPL-3.0 Imports: 2 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 {
	ETag string
}

type Uploadable

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

func New

func New() *Uploadable

func (*Uploadable) AppendPart

func (uploadable *Uploadable) AppendPart(number int, eTag string) error

func (*Uploadable) GetPart

func (uploadable *Uploadable) GetPart(number int) *Part

func (*Uploadable) ID

func (uploadable *Uploadable) ID() (string, bool)

func (*Uploadable) IDOrCompute

func (uploadable *Uploadable) IDOrCompute(compute func() (string, error)) (string, error)

Jump to

Keyboard shortcuts

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