Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapVulnrToDetails ¶
func MapVulnrToDetails(v *vulnr.Vulnerability) *api.Policy
Types ¶
type APIHandler ¶
type APIHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(coreAPI *core.Client, service *vulnr.Service) *APIHandler
func (*APIHandler) Get ¶
func (h *APIHandler) Get(ctx *gin.Context)
func (*APIHandler) List ¶
func (h *APIHandler) List(ctx *gin.Context)
func (*APIHandler) Register ¶
func (h *APIHandler) Register(engine *gin.RouterGroup) error
Click to show internal directories.
Click to hide internal directories.