Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { }
func (*Handler) HealthCheck ¶
Healthcheck @Summary Returns Healthy @Description Returns Healthy @ID healthcheck @Success 200 {string} string "Healthy" @Router /healthcheck [get]
func (*Handler) NextQuestion ¶
NextQuestion @Summary Request Prioritized Questions @ID next-question @Accept json @Produce json @Success 200 {object} renderings.NextQuestionResponse @Failure 400 {object} renderings.QPSError @Failure 404 {object} renderings.QPSError @Failure 500 {object} renderings.QPSError @Param NextQuestion body bindings.NextQuestionRequest 1604599804740 "Journey 1" ["Benefit 1"] [models.Question] [models.Benefit] @Router /next [post]
type HandlerServiceInterface ¶
type HandlerServiceInterface interface { HealthCheck(c echo.Context) error NextQuestion(c echo.Context) (err error) }
var HandlerService HandlerServiceInterface = new(Handler)
Click to show internal directories.
Click to hide internal directories.