Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRouter ¶
func InitRouter(e *gin.RouterGroup)
ShowAccount godoc @Summary Show an account @Description get string by ID @Tags accounts @Accept json @Produce json @Param id path int true "Account ID" @Router /accounts/{id} [get]
Types ¶
type DocController ¶
type DocController struct {
// contains filtered or unexported fields
}
func NewDocController ¶
func NewDocController() *DocController
func (*DocController) FormatDoc ¶
func (DC *DocController) FormatDoc(c *gin.Context)
type DocRequest ¶
type DocRequest struct {
File *multipart.FileHeader `form:"file" binding:"required"`
}
type FileParams ¶
Click to show internal directories.
Click to hide internal directories.