files

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 11 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) Delete

func (c *Client) Delete(
	ctx context.Context,
	fileId string,
	opts ...option.RequestOption,
) (*flatfilego.Success, error)

func (*Client) Download

func (c *Client) Download(
	ctx context.Context,
	fileId flatfilego.FileId,
	opts ...option.RequestOption,
) (io.Reader, error)

func (*Client) Get

func (c *Client) Get(
	ctx context.Context,
	fileId string,
	opts ...option.RequestOption,
) (*flatfilego.FileResponse, error)

func (*Client) List

func (*Client) Update

func (c *Client) Update(
	ctx context.Context,

	fileId string,
	request *flatfilego.UpdateFileRequest,
	opts ...option.RequestOption,
) (*flatfilego.FileResponse, error)

Update a file, to change the workbook id for example

func (*Client) Upload

Jump to

Keyboard shortcuts

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