fetch-speed

command
v0.0.0-...-78384c0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Outline Fetch Speed

This app illustrates how to use different transports to fetch a URL in Go and calculate the download speed.

Direct fetch:

$ go run github.com/Jigsaw-Code/outline-sdk/x/examples/fetch@latest http://speedtest.ftp.otenet.gr/files/test10Mb.db

Downloaded 10.00 MB in 1.51s

Downloaded Speed: 6.64 MB/s

Using a Shadowsocks server:

$ go run github.com/Jigsaw-Code/outline-sdk/x/examples/fetch@latest -transport ss://[redacted]@[redacted]:80 http://speedtest.ftp.otenet.gr/files/test10Mb.db

Downloaded 10.00 MB in 1.78s

Downloaded Speed: 5.61 MB/s

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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