Documentation ¶ Index ¶ type Server func NewHTTPServer(handler http.Handler, cfg *config.Config, errLog *log.Logger, log *zap.Logger) *Server func (s *Server) GetServer() *http.Server func (s *Server) Start(mdwr map[string]common.Middleware, order []string) error func (s *Server) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewHTTPServer ¶ func NewHTTPServer(handler http.Handler, cfg *config.Config, errLog *log.Logger, log *zap.Logger) *Server func (*Server) GetServer ¶ func (s *Server) GetServer() *http.Server func (*Server) Start ¶ func (s *Server) Start(mdwr map[string]common.Middleware, order []string) error Start is a blocking function func (*Server) Stop ¶ func (s *Server) Stop() Source Files ¶ View all Source files http.go Click to show internal directories. Click to hide internal directories.