Documentation
¶
Index ¶
- func IsAuthenticated() gin.HandlerFunc
- type Controller
- func (con *Controller) CreateAnswer(c *gin.Context)
- func (con *Controller) CreateQuestion(c *gin.Context)
- func (con *Controller) GetAllQuestions(c *gin.Context)
- func (con *Controller) GetAnswer(c *gin.Context)
- func (con *Controller) GetAnswers(c *gin.Context)
- func (con *Controller) GetQuestion(c *gin.Context)
- func (con *Controller) GetQuestionsQuery(c *gin.Context)
- func (con *Controller) Login(c *gin.Context)
- func (con *Controller) Logout(c *gin.Context)
- func (con *Controller) Register(c *gin.Context)
- func (con *Controller) UpdateQuestion(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
func New ¶
func New() *Controller
func (*Controller) CreateQuestion ¶
func (con *Controller) CreateQuestion(c *gin.Context)
func (*Controller) GetAllQuestions ¶
func (con *Controller) GetAllQuestions(c *gin.Context)
func (*Controller) GetQuestion ¶
func (con *Controller) GetQuestion(c *gin.Context)
func (*Controller) GetQuestionsQuery ¶
func (con *Controller) GetQuestionsQuery(c *gin.Context)
func (*Controller) Logout ¶
func (con *Controller) Logout(c *gin.Context)
func (*Controller) UpdateQuestion ¶
func (con *Controller) UpdateQuestion(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.