jobs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ExploreBufferSize = 100
View Source
const ExploreFrequency = time.Minute * 2

Variables

This section is empty.

Functions

func ExploreJob

func ExploreJob(in chan dht.Entry, data ...interface{}) <-chan dht.Entry

This job runs every two minutes, and tries to build the netdb with as many entries as it possibly can

Types

type Job

type Job func(<-chan interface{}, ...interface{}) <-chan interface{}

Takes in data, returns a stream of data

Jump to

Keyboard shortcuts

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