gcs

package
v0.0.0-...-50021da Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 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
}

func NewClient

func NewClient(config *ClientConfig) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Get

func (c *Client) Get(filename string) error

func (*Client) List

func (c *Client) List() ([]string, error)

func (*Client) Open

func (c *Client) Open(config *ClientConfig) (err error)

func (*Client) Put

func (c *Client) Put(destFile string, sourceFile string) error

type ClientConfig

type ClientConfig struct {
	DownloadPath string
	ServiceFile  string
}

Jump to

Keyboard shortcuts

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