s3

package
v0.0.0-...-6e81732 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2014 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	*s3.Bucket
}

func (*Bucket) Create

func (b *Bucket) Create(name string) (driver.File, error)

func (*Bucket) Delete

func (b *Bucket) Delete(path string) error

func (*Bucket) Open

func (b *Bucket) Open(name string) (driver.File, error)

func (*Bucket) SignedURL

func (b *Bucket) SignedURL(path string, expires time.Time) (*url.URL, error)

func (*Bucket) URL

func (b *Bucket) URL(path string) (*url.URL, error)

type Driver

type Driver struct{}

func (*Driver) Open

func (d *Driver) Open(source string) (driver.Bucket, error)

type File

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

func (*File) Close

func (f *File) Close() error

func (*File) Name

func (f *File) Name() string

func (*File) Read

func (f *File) Read(b []byte) (n int, err error)

func (*File) Readdir

func (f *File) Readdir(n int) (fi []os.FileInfo, err error)

func (*File) Stat

func (f *File) Stat() (fi os.FileInfo, err error)

func (*File) Write

func (f *File) Write(b []byte) (n int, err error)

type FileInfo

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

func (*FileInfo) IsDir

func (fi *FileInfo) IsDir() bool

func (*FileInfo) ModTime

func (fi *FileInfo) ModTime() time.Time

func (*FileInfo) Mode

func (fi *FileInfo) Mode() os.FileMode

func (*FileInfo) Name

func (fi *FileInfo) Name() string

func (*FileInfo) Size

func (fi *FileInfo) Size() int64

func (*FileInfo) Sys

func (fi *FileInfo) Sys() interface{}

Jump to

Keyboard shortcuts

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