storage

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobReader added in v0.22.0

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

func NewBlobReader added in v0.22.0

func NewBlobReader(ctx context.Context, name string) (*BlobReader, error)

func (*BlobReader) Close added in v0.22.0

func (r *BlobReader) Close() error

func (*BlobReader) Read added in v0.22.0

func (r *BlobReader) Read(data []byte) (int, error)

func (*BlobReader) ReadAt added in v0.22.0

func (r *BlobReader) ReadAt(data []byte, offset int64) (int, error)

func (*BlobReader) Seek added in v0.22.0

func (r *BlobReader) Seek(offset int64, whence int) (int64, error)

type HttpReader

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

func NewHttpReader

func NewHttpReader(url string) (*HttpReader, error)

func (*HttpReader) Close

func (r *HttpReader) Close() error

func (*HttpReader) Read

func (r *HttpReader) Read(data []byte) (n int, err error)

func (*HttpReader) ReadAt

func (r *HttpReader) ReadAt(data []byte, offset int64) (int, error)

func (*HttpReader) Seek

func (r *HttpReader) Seek(offset int64, whence int) (int64, error)

type ReaderAtSeeker

type ReaderAtSeeker interface {
	io.Reader
	io.ReaderAt
	io.Seeker
}

func NewReader added in v0.22.0

func NewReader(ctx context.Context, resource string) (ReaderAtSeeker, error)

Jump to

Keyboard shortcuts

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