Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultReadHeaderTimeout = 5 * time.Second DefaultReadTimeout = 15 * time.Second DefaultWriteTimeout = 15 * time.Second DefaultIdleTimeout = 60 * time.Second )
Default per-connection timeouts for split API services. Routes that accept large uploads or run long operations (for example the runtime-api registry push) extend their own deadlines with http.ResponseController instead of raising these for every route.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPServer ¶
NewHTTPServer returns the service HTTP server with the shared default timeouts.
Types ¶
Click to show internal directories.
Click to hide internal directories.