Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineRoutes ¶
DefineRoutes defines the routes for the gin engine. It sets up basic authentication and defines handlers for various routes. It also starts a goroutine to handle messages from the broadcast channel.
func EnsureTrailingSlash ¶
func EnsureTrailingSlash() gin.HandlerFunc
func ErrorHandlingMiddleware ¶
func ErrorHandlingMiddleware() gin.HandlerFunc
func LoggingMiddleware ¶
func LoggingMiddleware() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.