Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextTimeout ¶
ContextTimeout is the maximum time for which the H2C server waits after calling Stop() on it while the current connections close; after which the server closes them forcefully and exits.
defaults to 60s
Types ¶
type H2CServer ¶
type H2CServer struct {
// contains filtered or unexported fields
}
func NewH2CServer ¶
func (*H2CServer) ShutdownDone ¶
func (s *H2CServer) ShutdownDone() chan struct{}
func (*H2CServer) ShuttingDown ¶
func (s *H2CServer) ShuttingDown() chan struct{}
Click to show internal directories.
Click to hide internal directories.