tempcontent

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteFile

type RemoteFile struct {
	ID  string
	URL string
}

type TUSClient

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

func NewTUSClient

func NewTUSClient(sessionState *session.State, connection *connection.ConnectionSettings, chunkSize int64, maxRetries int) (*TUSClient, error)

func (TUSClient) UploadFromFile

func (client TUSClient) UploadFromFile(ctx context.Context, file *os.File) (*RemoteFile, error)

Jump to

Keyboard shortcuts

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