Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServerConfig ¶
type HTTPServerConfig struct { Address *string Port *int AllowList *[]string PollingDomain *string PollingManager *polling.PollingServer TLS *TLSConfig Version2 *bool }
HTTPServerConfig contains fields necessary to build a listener to serve requests
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains all HTTP listeners
func HTTPServer ¶
func HTTPServer(cfg *HTTPServerConfig) *Server
HTTPServer takes HTTPServerConfig input and returns a server with listeners
Click to show internal directories.
Click to hide internal directories.