gcs

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 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 Client

type Client interface {
	Put(ctx context.Context, objName string, data []byte) error
	Get(ctx context.Context, objName string) ([]byte, error)
	List(ctx context.Context, filePrefix string) ([]string, error)
	Delete(ctx context.Context, objName string) error
	MakeObjectPublic(ctx context.Context, objName string) error
}

Storage Storage service interface

func NewGCSClient

func NewGCSClient(bucket string) (Client, error)

Directories

Path Synopsis
Package mock_gcs is a generated GoMock package.
Package mock_gcs is a generated GoMock package.

Jump to

Keyboard shortcuts

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