searcher

package
v0.0.0-...-c34a4ac Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoStats

type RepoStats struct {
	LeaksFound   int `json:"leaks_found"`
	LeaksFiltred int `json:"leaks_filtred"`
}

type Searcher

type Searcher struct {
	Workers     int
	DiffChannel <-chan *hungryfox.Diff
	LeakChannel chan<- *hungryfox.Leak
	Log         zerolog.Logger
	// contains filtered or unexported fields
}

func (*Searcher) GetLeaks

func (s *Searcher) GetLeaks(diff hungryfox.Diff) []hungryfox.Leak

func (*Searcher) Start

func (s *Searcher) Start(conf *config.Config) error

func (*Searcher) Status

func (s *Searcher) Status(repoURL string) RepoStats

func (*Searcher) Stop

func (s *Searcher) Stop() error

func (*Searcher) Update

func (s *Searcher) Update(conf *config.Config)

Jump to

Keyboard shortcuts

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