gcs

package
v0.0.0-...-221c55c Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCS

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

func NewGCS

func NewGCS(ctx context.Context, bucket string) (*GCS, error)

func (*GCS) Check

func (s *GCS) Check(ctx context.Context) error

func (*GCS) Delete

func (s *GCS) Delete(ctx context.Context, key string) error

func (*GCS) Get

func (s *GCS) Get(ctx context.Context, key string) (io.ReadCloser, string, error)

func (*GCS) Put

func (s *GCS) Put(ctx context.Context, key, contentType string, data io.Reader) (err error)

Jump to

Keyboard shortcuts

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