web

package
v0.0.0-...-62c8998 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefineRoutes

func DefineRoutes(appConfig config.AppConfig) *gin.Engine

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.

Jump to

Keyboard shortcuts

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