Documentation
¶
Overview ¶
Package s3seek provides a seekable io.Reader to an S3 object.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadSeekCloser ¶
type ReadSeekCloser interface { io.ReadCloser io.Seeker }
ReadSeekCloser implements io.Reader, io.Seeker and io.Closer.
func New ¶
func New(c *s3.S3, path string, goi *s3.GetObjectInput) (ReadSeekCloser, error)
New returns a io.ReadSeeker. If goi is nil then just the path is used and must contain the bucket prefix and the object (key) path; any s3:// prefix is optional. If goi is non nil, path will be ignored and the goi will be used to determine the bucket and key and to set any additional options.
Click to show internal directories.
Click to hide internal directories.