netscrape

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

netscrape: Go module for building networks from arbitrary data sources

Build Status go.dev reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) (*netscraper, error)

New creates a netscraper and returns it. If no store option is given a memory store is created backed by memory.WUG (Weighted Undirected Graph).

Types

type Filter

type Filter func(space.Entity) bool

Filter filters scrapes Objects.

type Option

type Option func(*Options)

Option is functional kraph option.

func WithFilters added in v0.0.3

func WithFilters(fx ...Filter) Option

WithFilters set Filters options

func WithStore added in v0.0.3

func WithStore(s store.Store) Option

WithStore sets Store Options

type Options

type Options struct {
	Store   store.Store
	Filters []Filter
}

Options are kraph options.

Jump to

Keyboard shortcuts

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