Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRouteForDefectController ¶
func AddRouteForDefectController(r *gin.RouterGroup, s app.DefectService)
Types ¶
type DefectController ¶
type DefectController struct {
// contains filtered or unexported fields
}
func (DefectController) Collect ¶
func (ctl DefectController) Collect(ctx *gin.Context)
Collect @Summary collect information of some defects @Description collect information of some defects @Tags Defect @Accept json @Param date query string true "collect defects after the date" @Success 200 {object} []app.CollectDefectsDTO @Failure 400 {object} string @Router /v1/defect [get]
func (DefectController) GenerateBulletin ¶
func (ctl DefectController) GenerateBulletin(ctx *gin.Context)
GenerateBulletin @Summary generate security bulletin for some defects @Description generate security bulletin for some defects @Tags Defect @Accept json @Param param body bulletinRequest true "body of some issue number" @Success 201 {object} string @Failure 400 {object} string @Router /v1/defect/bulletin [post]
Click to show internal directories.
Click to hide internal directories.