Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildNodes ¶
BuildNodes DB to page Nodes
Types ¶
type BasicSiteMap ¶
type BasicSiteMap struct { LinksDB storage.BasicInMemoryDB URLDB storage.BasicInMemoryDB }
BasicSiteMap is a SiteMap that works with BasicInMemoryDB
func (BasicSiteMap) Output ¶
func (sm BasicSiteMap) Output()
Output converts a DB into output (strings)
type Node ¶
Node represents a page with links coming in and out from other pages
func BFS ¶
BFS does search for nodes https://en.wikipedia.org/wiki/Breadth-first_search
func SortWeightedList ¶
SortWeightedList pseudo page-rank, reverse link/number of pages linking in
Click to show internal directories.
Click to hide internal directories.