randRead

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fct FuncRemote) io.ReadCloser

New return an interface for a random reader from remote source. New returns io.ReadCloser, will buffer data from remote source. The input function should return an io.ReadCloser and an error. The http request or any other implementation could be used.

Types

type FuncRemote

type FuncRemote func() (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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