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)
Click to show internal directories.
Click to hide internal directories.