Documentation ¶ Index ¶ func NewHTTPServer(handler http.Handler, cfg *config.Config, errLog *log.Logger, log *zap.Logger) servers.InternalServer[any] type Server func (s *Server) Serve(mdwr map[string]common.Middleware, order []string) error func (s *Server) Server() any func (s *Server) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHTTPServer ¶ func NewHTTPServer(handler http.Handler, cfg *config.Config, errLog *log.Logger, log *zap.Logger) servers.InternalServer[any] Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func (*Server) Serve ¶ func (s *Server) Serve(mdwr map[string]common.Middleware, order []string) error Serve is a blocking function func (*Server) Server ¶ func (s *Server) Server() any 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.