Documentation ¶
Overview ¶
Package webfetch is an *http.Client wrapper with caching and logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Filer *iox.Filer Client *http.Client Logf func(format string, v ...interface{}) CacheGet func(ctx context.Context, dst io.Writer, url string) (found bool, contentType string, err error) CachePut func(ctx context.Context, url, contentType string, src io.Reader, srcLen int64) error // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.