scanner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RootDir string
	Profile string
}

type Scanner

type Scanner struct {
	Feeder    *feeder.Feeder
	Inspector *inspector.Inspector
	// contains filtered or unexported fields
}

func New

func New(cfg Config, r *requests.Requests, logger *slog.Logger) (*Scanner, error)

func (Scanner) Health

func (a Scanner) Health(_ context.Context) any

func (Scanner) Run

func (a Scanner) Run(ctx context.Context, concurrent int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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