dht

package
v0.0.0-...-b569211 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crawl

func Crawl()

func GetSize

func GetSize() int

func InsertSpider

func InsertSpider(infohash string, name string)

func Load

func Load() error

func OnCrawl

func OnCrawl(w *dht.Wire)

func SetCallback

func SetCallback(cb func(infohash string, name string))

Types

type FindData

type FindData struct {
	Infohash string
	Name     string
}

func Find

func Find(str string, max int) []FindData

func Last

func Last(n int) []FindData

Jump to

Keyboard shortcuts

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