Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleRequest ¶
func HandleRequest[T any](c echo.Context, handler RequestHandler[T]) error
HandleRequest processes standard requests
func SetupEventRoutes ¶
func SetupEventRoutes(e *echo.Echo, controller *EventController)
Types ¶
type EventController ¶
type EventController struct {
// contains filtered or unexported fields
}
func NewEventController ¶
func NewEventController(usecase domain.EventUsecase) *EventController
func (*EventController) CreateAWSEvent ¶
func (c *EventController) CreateAWSEvent(ctx echo.Context) error
func (*EventController) CreateGCPEvent ¶
func (c *EventController) CreateGCPEvent(ctx echo.Context) error
type RequestHandler ¶
RequestHandler is a function type for handling standard requests
type StandardResponse ¶
StandardResponse defines a simplified standard response structure
Click to show internal directories.
Click to hide internal directories.