documentfetcher

package
v5.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFetcher

func RegisterFetcher(name string, fetcher Fetcher) error

Types

type Fetcher

type Fetcher interface {
	DownloadDocument(ctx context.Context, source *subscription.ImportSource, opts ...FetcherOptions) ([]byte, error)
}

func GetFetcher

func GetFetcher(name string) (Fetcher, error)

type FetcherOptions

type FetcherOptions interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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