objectstore

package
v0.0.0-...-d814896 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStore

type ObjectStore interface {
	AddFile(bucket, fileName string, src io.Reader) (*UploadResult, error)
	AddImage(bucket, fileName string, src io.Reader) (*UploadResult, error)
	DeleteFile(bucket, fileName string) error
	DownloadFile(bucket, fileName string, file io.WriterAt) (int64, error)
}

ObjectStore defines the object store interface

type UploadResult

type UploadResult struct {
	Location string
	UploadID string
}

UploadResult defines the upload result

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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