Back to godoc.org

Package storage

v0.14.1
Latest Go to latest

The latest major version is .

Published: Sep 21, 2019 | License: MIT | Module: github.com/aldor007/mort

Index

func Delete

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

Delete remove object from given storage

func Get

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

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, _ string, prefix string, marker string) *response.Response

List returns list of object in given path in S3 format nolint: gocyclo

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier