
The highest tagged major version is
v4.
module
Version:
v3.32.1
Opens a new window with list of versions in this module.
Published: Oct 30, 2020
License: MIT
Opens a new window with license information.
README
¶
httputils

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 {ALCOTEST_URL}
-userAgent string
[alcotest] User-Agent for check {ALCOTEST_USER_AGENT} (default "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"
Click to show internal directories.
Click to hide internal directories.