service

package
v0.0.0-...-9ef7b20 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVulnService

func NewVulnService(cveRepository repository.CVERepository) pb.VulnServiceServer

Types

type VulnService

type VulnService struct {
	// contains filtered or unexported fields
}

func (*VulnService) AddCVE

func (s *VulnService) AddCVE(ctx context.Context, req *pb.AddCVERequest) (*pb.CVE, error)

func (*VulnService) DeleteCVE

func (*VulnService) FetchNVDFeeds

func (*VulnService) GetAllCVEs

func (*VulnService) SearchCVE

func (*VulnService) UpdateCVE

func (s *VulnService) UpdateCVE(ctx context.Context, req *pb.UpdateCVERequest) (*pb.CVE, error)

Jump to

Keyboard shortcuts

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