Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detail ¶
Detail - get post and replies @Tags Post @Summary get post and replies @Accept json @Produce json @Param uuid path string true "post's uuid" @Param size query uint false "specify list size" @Param from query string false "specify list from" @Success 200 {array} model.Post @Router /post/{uuid} [get]
func Index ¶
Index - list all posts with topic ID @Tags Post @Summary list all posts with topic ID @Accept json @Produce json @Param topic query string true "post's topic" @Param size query uint false "specify list size" @Param from query string false "specify list from" @Success 200 {array} model.Post @Router /post [get]
func More ¶
More - get reply posts of the post @Tags Post @Summary get reply posts @Accept json @Produce json @Param uuid path string false "get reply posts" @Param size query uint false "specify list size" @Param from query string false "specify list from" @Success 200 {array} model.Post @Router /post/{uuid}/more [get]
Types ¶
This section is empty.