Documentation ¶
Overview ¶
Package gcsobj supplies a seekable Reader type for Google Cloud Storage objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is an io.ReadSeeker for objects in Google Cloud Storage buckets.
func NewReader ¶
NewReader creates a new Reader on the given object. If the object size is already known, use NewReaderWithSize instead. Callers must call the Close method when finished with the Reader.
func NewReaderWithSize ¶ added in v0.2.0
NewReaderWithSize creates a new Reader on the given object. Use this in preference to NewReader when the object size is already known (e.g. from an earlier call to storage.ObjectHandle.Attrs). Callers must call the Close method when finished with the Reader.
Click to show internal directories.
Click to hide internal directories.