s3

package
v0.0.0-...-c5bcced Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(orb *orbit.Orbit) interface{}

Types

type API

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

func NewAPI

func NewAPI(orb *orbit.Orbit, opt map[string]interface{}) *API

func (*API) Del

func (this *API) Del(bucket, name string)

func (*API) File

func (this *API) File(call otto.FunctionCall) otto.Value

func (*API) Get

func (this *API) Get(bucket, name string) *stream.ReadCloser

func (*API) Put

func (this *API) Put(call otto.FunctionCall) otto.Value

type File

type File struct {
	*file.File
	// contains filtered or unexported fields
}

func NewFile

func NewFile(orb *orbit.Orbit, api *s3.S3, buck, name string, opts map[string]interface{}) *File

func (*File) Save

func (this *File) Save()

type Module

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

func (*Module) Init

func (this *Module) Init(opt map[string]interface{}) *API

Jump to

Keyboard shortcuts

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