Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthRouter ¶
HealthRouter router for the health check endpoint
func NewGuestRouter ¶
NewGuestRouter creates a new instance of the guest router
func NewInvitationRouter ¶
NewInvitationRouter creates a new instance of the invitation router
Types ¶
type CreateGuestRequest ¶
type CreateGuestRequest struct { FirstName string `json:"first_name" binding:"required"` LastName string `json:"last_name" binding:"required"` Email string `json:"email" binding:"required"` Phone string `json:"phone" binding:"required"` RegistrationKey string `json:"registration_key" binding:"required"` }
CreateGuestRequest structure of the create request for guests
type CreateInvitationRequest ¶
type CreateInvitationRequest struct { Name string `json:"name" binding:"required"` GuestCount int `json:"guest_count" binding:"required"` }
CreateInvitationRequest structure of the create request for invitations
type GuestRouter ¶
type GuestRouter struct {
// contains filtered or unexported fields
}
GuestRouter router for guest CRUD operations
type InvitationRouter ¶
type InvitationRouter struct {
// contains filtered or unexported fields
}
InvitationRouter router for invitation CRUD operations
Click to show internal directories.
Click to hide internal directories.