Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IServer ¶
type IServer interface { Router(handler handler.IHandler) (w wrapper.IWrapper) GetHTTPServer() *http.Server GracefullShutdown(server *http.Server, logger *log.Logger, quit <-chan os.Signal, done chan<- bool) }
IServer ...
type Server ¶
type Server struct { ErrorLog *log.Logger Addr string Handler handler.IHandler ReadTimeout time.Duration WriteTimeout time.Duration IdleTimeout time.Duration }
Server will create a http.Server from the Go standard library
Click to show internal directories.
Click to hide internal directories.