controller

package
v0.0.0-...-5b4bce4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationController

type NotificationController struct {
	NotificationUseCase domain.NotificationService
}

func NewNotificationController

func NewNotificationController(env *bootstrap.Env, rdb *redis.Client) *NotificationController

NewNotificationController inicializa un nuevo controlador de notificaciones con la lógica del caso de uso necesaria.

func (*NotificationController) HandleNotification

func (nc *NotificationController) HandleNotification(c *gin.Context)

HandleNotification procesa las solicitudes entrantes para enviar notificaciones, aplicando límites de tasa.

Jump to

Keyboard shortcuts

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