tusc

package
v0.0.0-...-a7b288f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*tusgo.Client
}

func New

func New(client *http.Client, baseURL string) *Client

func (*Client) CreateFile

func (c *Client) CreateFile(filename string, remoteSize int64, metadata map[string]string) (*tusgo.Upload, error)

func (*Client) WithContext

func (c *Client) WithContext(ctx context.Context) *Client

Jump to

Keyboard shortcuts

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