screener

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package screener provides the screener api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Screener

type Screener interface {
	Start(ctx context.Context) error
}

Screener is the interface for the screener.

func NewScreener

func NewScreener(ctx context.Context, cfg config.Config, metricHandler metrics.Handler) (_ Screener, err error)

NewScreener creates a new screener.

type Set

type Set struct {
	Enabled    string `csv:"Enabled"`
	ID         string `csv:"ID"`
	Category   string `csv:"Category"`
	Name       string `csv:"Name"`
	TypeOfRisk string `csv:"Type of risk"`
	Severity   string `csv:"Severity"`
}

Set is a struct for the screener set.

Directories

Path Synopsis
Package internal provides internal functionality for the screener-api.
Package internal provides internal functionality for the screener-api.

Jump to

Keyboard shortcuts

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