Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerWithTimeout ¶
NewServerWithTimeout takes 1 or 2 arguments. The first one is how long the webservers will wait to process current requests. The second is how long it will wait after getting signal before telling the webserver to start shutdown. This is useful for when running in kubernetes and instead of adding a preStop sleep to the pod in order to let the ingress controller update it's backends before the service stops accepting new requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.