Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CreatePresentionRequestDTO ¶
type CreatePresentionRequestDTO struct {
Polls []Poll `json:"polls"`
}
CreatePresentationRequest represents the request model for creating a presentation.
type CreateVoteRequestDTO ¶
type CreateVoteRequestDTO struct { PollID uuid.UUID `json:"poll_id" binding:"required"` Key string `json:"key" binding:"required"` ClientId string `json:"client_id" binding:"required"` }
CreateVoteRequest represents the request model for creating a vote.
type CurrentPoll ¶
type PresentationResponsePoll ¶
type PresentationResponsePoll struct { Question string `json:"question" binding:"required"` Options json.RawMessage `json:"options" binding:"required,dive"` }
type PresentionResponseDTO ¶
type PresentionResponseDTO struct { CurrentPollIndex int32 `json:"current_poll_index"` Polls []PresentationResponsePoll `json:"polls"` }
PresentionResponseDTO represents the request model for creating a presentation.
type VoteResponse ¶
VoteResponse represents the response model for a vote.
Click to show internal directories.
Click to hide internal directories.