routes

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL