Documentation ¶
Index ¶
- func CacheMiddleware() gin.HandlerFunc
- func ConfigMiddleware(appConfig config.Interface) gin.HandlerFunc
- func EventBusMiddleware(eventBus event_bus.Interface) gin.HandlerFunc
- func LoggerMiddleware(logger *logrus.Entry) gin.HandlerFunc
- func RepositoryMiddleware(deviceRepo database.DatabaseRepository) gin.HandlerFunc
- func RequireAuth() gin.HandlerFunc
- func SSEHeaderMiddleware() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheMiddleware ¶ added in v0.1.8
func CacheMiddleware() gin.HandlerFunc
func ConfigMiddleware ¶
func ConfigMiddleware(appConfig config.Interface) gin.HandlerFunc
func EventBusMiddleware ¶ added in v0.1.7
func EventBusMiddleware(eventBus event_bus.Interface) gin.HandlerFunc
func LoggerMiddleware ¶
func LoggerMiddleware(logger *logrus.Entry) gin.HandlerFunc
logger is the logrus logger handler
func RepositoryMiddleware ¶
func RepositoryMiddleware(deviceRepo database.DatabaseRepository) gin.HandlerFunc
func RequireAuth ¶
func RequireAuth() gin.HandlerFunc
func SSEHeaderMiddleware ¶ added in v0.1.7
func SSEHeaderMiddleware() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.