v1

package
v0.0.0-...-430ebb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapVulnrToDetails

func MapVulnrToDetails(v *vulnr.Vulnerability) *api.Policy

func WithAPI

func WithAPI(coreAPI *core.Client, service *vulnr.Service) server.ServerOption

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL