Skip to content

About

You must set timeout to net/http.Client and net/http.Server

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

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 ./...

About

You must set timeout to net/http.Client and net/http.Server

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages