Documentation ¶
Index ¶
- Constants
- Variables
- func DigestPeer(peer string, store *servicestore.MainManagedStorage) (*models.Peer, error)
- func DigestService(peerStream chan string, store_ *servicestore.MainManagedStorage)
- func GetSelfPeerID() string
- func IsPeerOnline(peerid string) bool
- func RunVoyagerService(logP *roggy.LogPrinter, store *servicestore.MainManagedStorage)
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 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.
Click to show internal directories.
Click to hide internal directories.