fileupload

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 6 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
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) UploadFile

func (c *Client) UploadFile(
	ctx context.Context,
	request *sdk.UploadFileRequest,
	opts ...option.RequestOption,
) (*sdk.UploadFileResponse, error)

Upload a file to the server. The file should be less than 5MB in size.

Jump to

Keyboard shortcuts

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