gcs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidUrlErr   = errors.New("invalid url")
	FileNotFoundErr = errors.New("file not found")
)

Functions

This section is empty.

Types

type BucketUrl

type BucketUrl struct {
	BucketName string
	Path       string
}

type Client

type Client struct{}

func NewClient

func NewClient() *Client

func (*Client) Cat

func (c *Client) Cat(url string) ([]byte, error)

func (*Client) Remove

func (c *Client) Remove(url string, concurrent bool) error

func (*Client) Upload

func (c *Client) Upload(dstUrl string, content []byte) error

Jump to

Keyboard shortcuts

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