Documentation
¶
Index ¶
- func DataReader(reader io.Reader, URL string) (io.ReadCloser, error)
- func NewHttpClientProvider(concurrency int, timeout time.Duration, dnsResolver string) func(baseURL string, options ...storage.Option) (*http.Client, error)
- func OpenURL(ctx context.Context, fs afs.Service, URL string) (io.ReadCloser, error)
- type Flusher
- type ReadCloser
- type WriterCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataReader ¶
DataReader returns uncompress data reader
Types ¶
type ReadCloser ¶
type ReadCloser struct {
Origin io.ReadCloser
io.ReadCloser
}
ReadCloser represents a reader closer wrapper of original and wrapper reader
type WriterCloser ¶
type WriterCloser struct {
Origin io.WriteCloser
io.WriteCloser
}
WriterCloser represents a writer closer wrapper of original and wrapper
Click to show internal directories.
Click to hide internal directories.