Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup( authHandler *handlers.AuthHandler, firstLoginHandler *handlers.FirstLoginHandler, notificationHandler *handlers.NotificationHandler, userManagementHandler *handlers.UserManagementHandler, profileHandler *handlers.ProfileHandler, contentHandler *handlers.ContentHandler, mediaHandler *handlers.MediaHandler, postTypeHandler *handlers.PostTypeHandler, dashboardHandler *handlers.DashboardHandler, seoHandler *handlers.SEOHandler, commentHandler *handlers.CommentHandler, profilePictureHandler *handlers.ProfilePictureHandler, wordPressHandler *handlers.WordPressHandler, apiKeyHandler *handlers.APIKeyHandler, apiKeyAuthMiddleware *middleware.APIKeyAuthMiddleware, agentContentHandler *agent.ContentHandler, agentMediaHandler *agent.MediaHandler, adminMiddleware *middleware.AdminMiddleware, corsMiddleware *middleware.CORSMiddleware, noCookieMiddleware *middleware.NoCookieMiddleware, csrfMiddleware *middleware.CSRFMiddleware, rateLimitMiddleware *middleware.RateLimitMiddleware, jwtManager *auth.JWTManager, staticServer *static.StaticServer, staticHandler http.Handler, imageGenEnabled bool, textGenEnabled bool, textGenHandler *handlers.TextGenHandler, languages []string, ) *chi.Mux
Setup configures and returns the HTTP router
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.