Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct { Config config.ServerConfig Serv *http.Server }
HTTPServer in an implementation of Server interface
func New ¶
func New(configuration config.ServerConfig) *HTTPServer
New constructs new implementation of Server interface
func (*HTTPServer) Initialize ¶
func (server *HTTPServer) Initialize(address string) http.Handler
Initialize perform the server initialization
func (*HTTPServer) LogRequest ¶
func (server *HTTPServer) LogRequest(nextHandler http.Handler) http.Handler
LogRequest - middleware for loging requests
Click to show internal directories.
Click to hide internal directories.