Documentation
¶
Index ¶
- type ReportService
- func (f *ReportService) CollectReportFinding(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (f *ReportService) GetReportFinding(ctx context.Context, req *report.GetReportFindingRequest) (*report.GetReportFindingResponse, error)
- func (f *ReportService) GetReportFindingAll(ctx context.Context, req *report.GetReportFindingAllRequest) (*report.GetReportFindingAllResponse, error)
- func (f *ReportService) PurgeReportFinding(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportService ¶
type ReportService struct {
// contains filtered or unexported fields
}
func NewReportService ¶
func NewReportService(repository db.ReportRepository, logger logging.Logger) *ReportService
func (*ReportService) CollectReportFinding ¶
func (*ReportService) GetReportFinding ¶
func (f *ReportService) GetReportFinding(ctx context.Context, req *report.GetReportFindingRequest) (*report.GetReportFindingResponse, error)
func (*ReportService) GetReportFindingAll ¶
func (f *ReportService) GetReportFindingAll(ctx context.Context, req *report.GetReportFindingAllRequest) (*report.GetReportFindingAllResponse, error)
func (*ReportService) PurgeReportFinding ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.