Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilenameFromURL ¶ added in v0.216.0
FilenameFromURL extracts a safe filename from a URL. When the URL path has no extension, the response Content-Type is used to derive one (e.g. image/png -> .png), falling back to .dat for unknown types.
func NewProgressReader ¶
NewProgressReader wraps src only when report is set, so the no-listener case (headless, tests) stays a plain read with no bookkeeping.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.