client

package
v0.0.0-...-d827436 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 9 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 {
	// contains filtered or unexported fields
}

Client model

func New

func New(endpoint string) *Client

New a client

func (*Client) Check

func (receiver *Client) Check(taskID string) error

Check upload

func (*Client) NewUploadTask

func (receiver *Client) NewUploadTask(postData schema.UploadTaskReq) (*schema.UploadTaskResp, error)

NewUploadTask new a upload task

func (*Client) PutChunk

func (receiver *Client) PutChunk(taskID string, index int64, chunkData []byte) error

PutChunk put chunk data

Jump to

Keyboard shortcuts

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