Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsecureServer ¶
type InsecureServer struct { // An HTTP handler Handler http.Handler // Timeout to be waited on shutting-down the server, default is: 5 minutes ShutdownTimeout time.Duration }
InsecureServer is a wrapper of net/http.Server which embeds net/http.Handler for handling incoming HTTP requests.
func (*InsecureServer) ListenAndServe ¶
func (s *InsecureServer) ListenAndServe(addr string, stopCh <-chan struct{}) error
ListenAndServe will listen on a specific address
Click to show internal directories.
Click to hide internal directories.