Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run( ctx context.Context, stopAccepting <-chan struct{}, addr string, handler http.Handler, serverName string, ) error
Run serves until stopAccepting closes, then waits for active requests. Canceling ctx cancels request contexts and closes remaining connections. Run returns after serving and shutdown have finished.
func SafeTransport ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.