ali_utils

package
v0.0.0-...-9bec60d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRangeReader

func NewRangeReader(r XReaderAt, chunkSize, sz int64) io.Reader

Types

type FsClearInterface

type FsClearInterface interface {
	fs.FS
	Remove(path string) error
}

func RealFs

func RealFs() FsClearInterface

type RandReadCloser

type RandReadCloser interface {
	io.ReaderAt
	io.Closer
}

func NewBytesRandReader

func NewBytesRandReader(b []byte) RandReadCloser

type XReaderAt

type XReaderAt interface {
	ReadAt(pos, maxLen int64) io.Reader
}

Jump to

Keyboard shortcuts

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