graphservice

package
v0.0.0-...-b9409c9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphService

type GraphService struct {
	// contains filtered or unexported fields
}

func NewGraphService

func NewGraphService(addr string) *GraphService

func (*GraphService) Destroy

func (g *GraphService) Destroy()

func (*GraphService) GetNeighbors

func (g *GraphService) GetNeighbors(pageUrl string) []string

func (*GraphService) Start

func (g *GraphService) Start(num int)

type WaitingMap

type WaitingMap struct {
	// contains filtered or unexported fields
}

func NewWaitingMap

func NewWaitingMap() *WaitingMap

func (*WaitingMap) Delete

func (m *WaitingMap) Delete(key string)

func (*WaitingMap) Get

func (m *WaitingMap) Get(key string) (chan []string, bool)

func (*WaitingMap) Put

func (m *WaitingMap) Put(key string, value chan []string)

Jump to

Keyboard shortcuts

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