io

package
v0.0.0-...-8daeb79 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RangeReader

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

func NewRangeReader

func NewRangeReader(offset, lenght int, resource string) *RangeReader

func (*RangeReader) Read

func (r *RangeReader) Read(p []byte) (n int, err error)

type SeekableReader

type SeekableReader interface {
	io.Reader
	io.Seeker
	io.ReadCloser
}

SeekableReader represents a reader that be able to seek

func SeekerWithoutCloser

func SeekerWithoutCloser(r io.Reader) SeekableReader

SeekerWithoutCloser creates a NopReader has seeking feature

Jump to

Keyboard shortcuts

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