gcs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 5 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
}

Client is a client for Google Cloud Storage

func New

func New(options ...Option) (*Client, error)

func (*Client) NewReader

func (x *Client) NewReader(ctx context.Context, bucket, object string) (io.ReadCloser, error)

func (*Client) NewWriter

func (x *Client) NewWriter(ctx context.Context, bucket, object string) (io.WriteCloser, error)

type Option

type Option func(*Client)

func WithGoogleAPIOption

func WithGoogleAPIOption(opts ...option.ClientOption) Option

Jump to

Keyboard shortcuts

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