fetchall

command
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Fetchall ranges over the CLI arguments (that should be URLs) and fetches each of them. It reports the size of the resource at the URL and the time it took to download it. It does this concurrently.

Adapted from github.com/adonovan/gopl.io/tree/master/ch1/fetchall.

Level: intermediate Topics: web client, net/http, concurrency

Jump to

Keyboard shortcuts

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