Skip to content

awmv/simple-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVP: Simple HTTP Client

Quick solution to perform concurrent HTTP requests to an endpoint that is expected to return a high volume of internal server errors. For simplicity it keeps track of the process with a textfile.

The idea here was lower the initial number of HTTP calls that another service needs to perform to that endpoint.

Build

go build subscribe.go

Run

./subscribe 8 sourcefile.txt
  • 8 is the number of workers for the WaitGroup
  • sourcefile.txt is the file containing IMEIs seperated by \n

Dev

go run subscribe.go 8 sourcefile.txt

About

Concurrent HTTP client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy