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, processController *controller.ProcessController, documentController *controller.DocumentController, webhookController *controller.WebhookController, internalDocController *controller.InternalDocumentController, publicDocAccessController *controller.PublicDocumentAccessController, publicSigningController *controller.PublicSigningController, signingSessionController *controller.SigningSessionController, automationKeyController *controller.AutomationKeyController, automationController *controller.AutomationController, galleryController *controller.GalleryController, publicDocAuthenticator port.PublicDocumentAccessAuthenticator, signingSessionAuthenticator port.SigningSessionAuthenticator, keyRepo port.AutomationAPIKeyRepository, frontendFS fs.FS, ) *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.