handler

package
v0.0.0-...-a36e7e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 NewQuestionHandler(conf *config.Config, db db.DbService, logger logging.Logger) *QuestionHandler

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 NewReportHandler(conf *config.Config, db db.DbService, logger logging.Logger) *ReportHandler

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL