gcs

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObjects

func DeleteObjects(bucket, path string) error

func UploadFile

func UploadFile(bucket string, object string, r io.Reader) error

Types

type GOP

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

func New

func New(bucket string) GOP

func (GOP) Cache

func (a GOP) Cache(resource string, content []byte) (err error)

func (GOP) Retrieve

func (a GOP) Retrieve(resource string) ([]byte, bool, error)

Jump to

Keyboard shortcuts

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