fetcher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Verbose  bool
	Root     string
	MaxDepth int
}

type Fetcher

type Fetcher struct {
	Config
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conf Config) (*Fetcher, error)

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(id string) (*tree.Node, error)

Jump to

Keyboard shortcuts

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