Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 758 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 758 Bytes

http-timeout

http-timeout restrict http server without timeout. You must not use http server without timeout.

See The complete guide to Go net/http timeouts.

Install

# MacOS 
curl -L https://github.com/wreulicke/http-timeout/releases/download/v0.0.2/http-timeout_0.0.2_darwin_amd64 -o /usr/local/bin/http-timeout

# Linux
curl -L https://github.com/wreulicke/http-timeout/releases/download/v0.0.2/http-timeout_0.0.2_linux_amd64 -o /usr/local/bin/http-timeout

# Windows
curl -L https://github.com/wreulicke/http-timeout/releases/download/v0.0.2/http-timeout_0.0.2_windows_amd64.exe -o <path-directory>/http-timeout.exe

Usage

http-timeout ./...