Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V1 ¶
type V1 struct {
// contains filtered or unexported fields
}
func (*V1) Health ¶
Health godoc @Summary Health returns the status of the various services @Description Health returns the status of the various services @Tags health @Accept json @Produce json @Success 200 {object} models.HealthResponse @Failure 500 {string} string @Router /health [get]
func (*V1) Logout ¶
Logout godoc @Summary Logout logs out a user @Description Logout logs out a user @Tags logout @Accept json @Produce json @Success 200 {string} string @Failure 400 {string} string @Failure 401 {string} string @Failure 500 {string} string @Router /logout [post]
func (*V1) UserInfo ¶
UserInfo godoc @Summary UserInfo checks if a user is logged in and returns their info @Description UserInfo checks if a user is logged in and returns their info @Tags userinfo @Accept json @Produce json @Success 200 {object} models.UserInfoResponse @Failure 400 {string} string @Failure 401 {string} string @Failure 500 {string} string @Router /userinfo [post]