prober

package
v0.0.0-...-e62810a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Queue

func Queue(jobs ...Job)

Queue queues multiple probeJobs. It is thread-safe and non-blocking.

Types

type Job

type Job struct {

	// Force, if true, forces a reprobe.
	Force bool
	// contains filtered or unexported fields
}

Job is an internal type that allows a track to be copied in a thread-safe way for probing.

func NewJob

func NewJob(track *state.Track, done func()) Job

NewJob creates a new job. done will be called in the glib main thread.

Jump to

Keyboard shortcuts

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