resuming

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package resuming contains structures and methods for listing or resuming uploads.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resumable

type Resumable struct {
	ID    string
	Name  string
	Size  int64
	Chunk int64
}

Resumable structure represents resumable upload.

type ResumablesManager

type ResumablesManager interface {
	ListResumables() (*[]Resumable, error)
	DeleteResumable(uploadID string) error
}

ResumablesManager interface provides method for managing resumable uploads.

func NewResumablesManager

func NewResumablesManager(client *requests.Client) (ResumablesManager, error)

NewResumablesManager constructs ResumablesManager using requests.Client.

Jump to

Keyboard shortcuts

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