Documentation
¶
Index ¶
- func CreateEventRSVP(db *gorm.DB, eventID uuid.UUID, userID uuid.UUID) error
- func DeleteEventRSVP(db *gorm.DB, eventID uuid.UUID, userID uuid.UUID) error
- func EventsRSVPs(params types.RouteParams)
- func GetEventRSVPs(db *gorm.DB, eventID uuid.UUID, pageInfo fiberpaginate.PageInfo) ([]models.User, error)
- type Controller
- type Handler
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventsRSVPs ¶
func EventsRSVPs(params types.RouteParams)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(service Service) *Controller
func (*Controller) CreateEventRSVP ¶
func (co *Controller) CreateEventRSVP(c *fiber.Ctx) error
func (*Controller) DeleteEventRSVP ¶
func (co *Controller) DeleteEventRSVP(c *fiber.Ctx) error
func (*Controller) GetEventRSVPs ¶
func (co *Controller) GetEventRSVPs(c *fiber.Ctx) error
type Handler ¶
type Handler struct {
types.ServiceParams
}
func (*Handler) CreateEventRSVP ¶
func (*Handler) DeleteEventRSVP ¶
func (*Handler) GetEventRSVPs ¶
type Service ¶
type Service interface { CreateEventRSVP(eventID string, userID string) error GetEventRSVPs(eventID string, pageInfo fiberpaginate.PageInfo) ([]models.User, error) DeleteEventRSVP(eventID string, userID string) error }
func NewHandler ¶
func NewHandler(params types.ServiceParams) Service
Click to show internal directories.
Click to hide internal directories.