persistence

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCloudStorage

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

GoogleCloudStorage represents a struct for a GCS client

func NewGoogleCloudStorage

func NewGoogleCloudStorage(bucketName, objectName string) *GoogleCloudStorage

NewGoogleCloudStorage returns an initiated *GoogleCloudStorage returns nil on error while Client initialization

func (*GoogleCloudStorage) NewReader

func (g *GoogleCloudStorage) NewReader() (r io.ReadCloser, err error)

NewReader returns a new io.Reader for the GoogleCloudStorage

func (*GoogleCloudStorage) NewWriter

func (g *GoogleCloudStorage) NewWriter() io.WriteCloser

NewWriter returns a new io.Reader for the GoogleCloudStorage

Jump to

Keyboard shortcuts

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