View definition

func ListenAndServeTLS

Defined in


ListenAndServeTLS is equivalent to http.Server.ListenAndServeTLS with graceful shutdown enabled.

timeout is the duration to wait until killing active requests and stopping the server. If timeout is 0, the server never times out. It waits for all active requests to finish.

ListenAndServeTLS is referenced in 0 repositories