httputils

module
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: MIT

README

httputils

Build Status codecov Go Report Card

Golang HTTP Utils func

Alcotest

Make your server blow into balloon for checking its health.

Usage
Usage of alcotest:
  -url string
        [alcotest] URL to check
  -userAgent string
        [alcotest] User-Agent for check (default "Golang alcotest")

in Dockerfile

HEALTHCHECK --retries=10 CMD /alcotest -url http://localhost/health

COPY bin/alcotest /alcotest
Why alcotest ?

Because main use is to healthcheck. Because it's a partial anagram of "check status code url"

Jump to

Keyboard shortcuts

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