sigurls

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Sources map[string]sources.Source
}

Agent is a

func NewAgent

func NewAgent(Sources, exclusions []string) *Agent

NewAgent is a

func (*Agent) Fetch

func (agent *Agent) Fetch(domain string, includeSubs bool) chan sources.Result

Fetch is a

type Options

type Options struct {
	Domain         string
	ExcludeSources string
	IncludeSubs    bool
	UseSources     string
}

Options is a

func ParseOptions

func ParseOptions(options *Options) (*Options, error)

ParseOptions is a

type Runner

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

Runner is

func NewRunner

func NewRunner(options *Options) *Runner

NewRunner is

func (*Runner) Run

func (runner *Runner) Run() (chan sources.Result, error)

Run is a

Jump to

Keyboard shortcuts

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