Documentation ¶
Index ¶
- type QuestionHandler
- type ReportHandler
- type SurveyHandler
- func (h *SurveyHandler) CreateSurvey(c echo.Context) error
- func (h *SurveyHandler) CreateSurveyOption(c echo.Context) error
- func (h *SurveyHandler) DeleteSurvey(c echo.Context) error
- func (h *SurveyHandler) DeleteSurveyOption(c echo.Context) error
- func (h *SurveyHandler) DeleteVote(c echo.Context) error
- func (h *SurveyHandler) GetSurvey(c echo.Context) error
- func (h *SurveyHandler) GetSurveyOptions(c echo.Context) error
- func (h *SurveyHandler) GetSurveys(c echo.Context) error
- func (h *SurveyHandler) GetUserVotes(c echo.Context) error
- func (h *SurveyHandler) GetVisibleVoteUsers(c echo.Context) error
- func (h *SurveyHandler) StartSurvey(c echo.Context) error
- func (h *SurveyHandler) SurveyVotes(c echo.Context) error
- func (h *SurveyHandler) UpdateSurvey(c echo.Context) error
- func (h *SurveyHandler) UpdateSurveyOption(c echo.Context) error
- func (h *SurveyHandler) UploadMedia(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuestionHandler ¶
type QuestionHandler struct {
// contains filtered or unexported fields
}
func NewQuestionHandler ¶
func (*QuestionHandler) DeleteQuestion ¶
func (h *QuestionHandler) DeleteQuestion(c echo.Context) error
func (*QuestionHandler) GetQuestion ¶
func (h *QuestionHandler) GetQuestion(c echo.Context) error
func (*QuestionHandler) GetQuestions ¶
func (h *QuestionHandler) GetQuestions(c echo.Context) error
func (*QuestionHandler) UpdateQuestion ¶
func (h *QuestionHandler) UpdateQuestion(c echo.Context) error
type ReportHandler ¶
type ReportHandler struct {
// contains filtered or unexported fields
}
func NewReportHandler ¶
func (*ReportHandler) GenerateAllSurveysReport ¶
func (h *ReportHandler) GenerateAllSurveysReport(c echo.Context) error
func (*ReportHandler) GetSurveyReport ¶
func (h *ReportHandler) GetSurveyReport(c echo.Context) error
type SurveyHandler ¶
type SurveyHandler struct {
// contains filtered or unexported fields
}
func NewSurveyHandler ¶
func NewSurveyHandler(conf *config.Config, db db.DbService, logger logging.Logger, notificationService notification.INotificationService) *SurveyHandler
func (*SurveyHandler) CreateSurvey ¶
func (h *SurveyHandler) CreateSurvey(c echo.Context) error
func (*SurveyHandler) CreateSurveyOption ¶
func (h *SurveyHandler) CreateSurveyOption(c echo.Context) error
func (*SurveyHandler) DeleteSurvey ¶
func (h *SurveyHandler) DeleteSurvey(c echo.Context) error
func (*SurveyHandler) DeleteSurveyOption ¶
func (h *SurveyHandler) DeleteSurveyOption(c echo.Context) error
func (*SurveyHandler) DeleteVote ¶
func (h *SurveyHandler) DeleteVote(c echo.Context) error
func (*SurveyHandler) GetSurvey ¶
func (h *SurveyHandler) GetSurvey(c echo.Context) error
func (*SurveyHandler) GetSurveyOptions ¶
func (h *SurveyHandler) GetSurveyOptions(c echo.Context) error
func (*SurveyHandler) GetSurveys ¶
func (h *SurveyHandler) GetSurveys(c echo.Context) error
func (*SurveyHandler) GetUserVotes ¶
func (h *SurveyHandler) GetUserVotes(c echo.Context) error
func (*SurveyHandler) GetVisibleVoteUsers ¶
func (h *SurveyHandler) GetVisibleVoteUsers(c echo.Context) error
func (*SurveyHandler) StartSurvey ¶
func (h *SurveyHandler) StartSurvey(c echo.Context) error
func (*SurveyHandler) SurveyVotes ¶
func (h *SurveyHandler) SurveyVotes(c echo.Context) error
func (*SurveyHandler) UpdateSurvey ¶
func (h *SurveyHandler) UpdateSurvey(c echo.Context) error
func (*SurveyHandler) UpdateSurveyOption ¶
func (h *SurveyHandler) UpdateSurveyOption(c echo.Context) error
func (*SurveyHandler) UploadMedia ¶
func (h *SurveyHandler) UploadMedia(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.