Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("stream error")
Error is the errs class of stream errors
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct {
// contains filtered or unexported fields
}
Download implements Reader, Seeker and Closer for reading from stream.
func NewDownload ¶
NewDownload creates new stream download.
func NewDownloadRange ¶ added in v0.18.0
func NewDownloadRange(ctx context.Context, stream storj.ReadOnlyStream, streams streams.Store, offset, limit int64) *Download
NewDownloadRange creates new stream range download with range from offset to offset+limit.
Click to show internal directories.
Click to hide internal directories.