store

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

type Uploader struct {
	Backend storage.Backend
}

Uploader --

func NewUploader

func NewUploader(cloud, bucket, prefix, region, endpoint, sse string) (*Uploader, error)

NewUploader --

func (*Uploader) Get

func (uploader *Uploader) Get(filename string) ([]byte, error)

Get --

func (*Uploader) Put

func (uploader *Uploader) Put(filename string, contents []byte) error

Put --

Jump to

Keyboard shortcuts

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