gcs

package
v0.0.0-...-3b98f14 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, ops ...option.ClientOption) (obj.Client, error)

NewClient returns a new client object for Google Cloud Storage.

Types

type Bucket

type Bucket struct {
	// contains filtered or unexported fields
}

func (*Bucket) Object

func (b *Bucket) Object(name string) obj.Object

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Bucket

func (c *Client) Bucket(name string) obj.Bucket

func (*Client) Close

func (c *Client) Close() error

type Object

type Object struct {
	// contains filtered or unexported fields
}

func (*Object) NewRangeReader

func (o *Object) NewRangeReader(ctx context.Context, offset, length int64) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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