storage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v0.4.1

func Delete(obj *object.FileObject) *response.Response

Delete remove object from given storage

func Get

Get retrieve obj from given storage and returns its wrapped in response

func Head(obj *object.FileObject) *response.Response

Head retrieve obj from given storage and returns its wrapped in response (but only headers, content of object is omitted)

func List

func List(obj *object.FileObject, maxKeys int, delimeter string, prefix string, marker string) *response.Response

List returns list of object in given path in S3 format

func Set

func Set(obj *object.FileObject, metaHeaders http.Header, contentLen int64, body io.Reader) *response.Response

Set create object on storage wit given body and headers

Types

This section is empty.

Jump to

Keyboard shortcuts

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