cbgooglebucket

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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 Config

type Config struct {
	Bucket          string
	CredentialsJson []byte
}

type Storage

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

func New

func New(config Config) (*Storage, error)

func (*Storage) Concat

func (s *Storage) Concat(destination string, filenames ...string) error

func (*Storage) Delete

func (s *Storage) Delete(filename string) error

func (*Storage) Download

func (s *Storage) Download(filename string, writer io.Writer) error

func (*Storage) Upload

func (s *Storage) Upload(filename string, reader io.Reader) error

Jump to

Keyboard shortcuts

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