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 represents the HTTP server instance.
func NewHTTPServer ¶
func NewHTTPServer( cfg *config.Config, middlewareProvider *middleware.Provider, workspaceController *controller.WorkspaceController, injectableController *controller.ContentInjectableController, templateController *controller.ContentTemplateController, adminController *controller.AdminController, meController *controller.MeController, tenantController *controller.TenantController, documentTypeController *controller.DocumentTypeController, renderController *controller.RenderController, globalMiddleware []gin.HandlerFunc, apiMiddleware []gin.HandlerFunc, renderAuthenticator port.RenderAuthenticator, ) *HTTPServer
NewHTTPServer creates a new HTTP server with all routes and middleware configured.
func (*HTTPServer) Engine ¶
func (s *HTTPServer) Engine() *gin.Engine
Engine returns the underlying Gin engine. Useful for testing.
Click to show internal directories.
Click to hide internal directories.