Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
*muxfys.S3Accessor
}
S3 lets you upload data to S3 and retrieve it.
func New ¶
New returns an S3 that gets your S3 credentials from ~/.s3cfg. The bucketPath will be checked for accessibility. Only the first "directory" of the path, actual bucket name, will be checked and stored as a root for the other method paths.
func (*S3) OpenFile ¶
func (s *S3) OpenFile(source string) (io.ReadCloser, error)
OpenFile lets you stream the given S3 bucket/source object.
func (*S3) RemoveFile ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.