Documentation
¶
Overview ¶
Package scheduler provides the logic to schedule tasks and execute them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
TaskQ chan Task
// contains filtered or unexported fields
}
Scheduler wraps the state needed to schedule the scanning of networks, probing of devices, possibly other tasks, too.
func Create ¶
func Create(sc *scanner.NetworkScanner) (*Scheduler, error)
Create returns a fresh Scheduler.
Click to show internal directories.
Click to hide internal directories.