Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer ...
func InitializeHTTPServer ¶
func InitializeHTTPServer(l envconfig.Lookuper) (*HTTPServer, error)
InitializeHTTPServer ...
func NewHTTPServer ¶
func NewHTTPServer( config *config.HTTPServerConfig, healthCheckHandler *healthcheck.Handler, httpServerConfigHandler *handler.HTTPServerConfigHandler, ) *HTTPServer
NewHTTPServer ... Create a new HTTPServer with the given configuration and request handlers.
New request handlers should be added here and in wire.go and registered in the router below.
func (*HTTPServer) ActivePort ¶
func (s *HTTPServer) ActivePort() int
ActivePort ... Returns the port on which the server is actively listening. This is useful as the server is capable or using a randomly assigned port.
Click to show internal directories.
Click to hide internal directories.