requester

command module
v0.0.0-...-d5d7a38 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

golang-requester

Golang HTTP GET requester with channels and goroutines

Usage

$ go run main.go --help
$ go run main.go -w 20 -u https://google.com -r 50
  • -r: max number of requests
  • -u: url you want to fetch
  • -w: number of workers

Problems with max open files (to much sockets opened)

ulimit -n 1000000

GO MAX PROCESSORS (by deault is 1)

Is necessary?

export GOMAXPROCS=2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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