parkr / go-curl

A stripped-down, static alternative to `curl`.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-curl

A stripped-down, static alternative to curl. Useful for HEALTHCHECKs in Docker.

Installation

$ go get github.com/parkr/go-curl/...
$ go-curl -h

Usage

$ go-curl <url>

Want it to fail on non-200's? Pass the -f flag:

$ go-curl -f <url>

License

MIT. See LICENSE in this repository.

About

A stripped-down, static alternative to `curl`.

License:MIT License


Languages

Language:Go 83.7%Language:Makefile 16.3%