voyager

package
v0.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxLastOnline = 259200
)

Variables

View Source
var (
	MyPeerID string
)

Functions

func DigestPeer

func DigestPeer(peer string, store *servicestore.MainManagedStorage) (*models.Peer, error)

DigestPeer downloads the peer data and packages it in an easy to use struct.

Downloads the listings and stores them in the database as well.

func DigestService

func DigestService(peerStream chan string, store_ *servicestore.MainManagedStorage)

func GetSelfPeerID

func GetSelfPeerID() string

func IsPeerOnline

func IsPeerOnline(peerid string) bool

func RunVoyagerService

func RunVoyagerService(logP *roggy.LogPrinter, store *servicestore.MainManagedStorage)

RunVoyagerService - Starts the voyager service. Handles the crawling of the nodes for the listings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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