engine

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func NewScannerEngine

func NewScannerEngine(opts *statute.ScannerOptions) *Engine

func (*Engine) GetAvailableIPs

func (e *Engine) GetAvailableIPs(desc bool) []statute.IPInfo

func (*Engine) Run

func (e *Engine) Run(ctx context.Context)

type IPQueue

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

func NewIPQueue

func NewIPQueue(opts *statute.ScannerOptions) *IPQueue

func (*IPQueue) AvailableIPs

func (q *IPQueue) AvailableIPs(desc bool) []statute.IPInfo

func (*IPQueue) Dequeue

func (q *IPQueue) Dequeue() (statute.IPInfo, bool)

func (*IPQueue) Enqueue

func (q *IPQueue) Enqueue(info statute.IPInfo) bool

func (*IPQueue) Expire

func (q *IPQueue) Expire()

Jump to

Keyboard shortcuts

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