gcs

package
v0.0.0-...-1048148 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 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(client *storage.Client, bucket string) (*Client, error)

func (*Client) Get

func (c *Client) Get(ctx context.Context, filename string) ([]byte, error)

func (*Client) GetLocation

func (c *Client) GetLocation() string

func (*Client) Store

func (c *Client) Store(ctx context.Context, data io.Reader, filename string) error

Jump to

Keyboard shortcuts

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