limits

command
v0.0.0-...-771431e Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Limits ====== This example demonstrates the use of Timeout, CloseNotify, and Throttle middlewares.

Timeout:

cancel a request if processing takes longer than 2.5 seconds,
server will respond with a http.StatusGatewayTimeout.

CloseNotify:

cancel a request if the client disconnects.

Throttle:

limit the number of in-flight requests along a particular
routing path and backlog the others.

Jump to

Keyboard shortcuts

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