provider

package
v0.0.0-...-c7421ae Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageLinksFromHtmlDoc

func GetImageLinksFromHtmlDoc(doc *html.Node) []string

Types

type FileProvider

type FileProvider struct {
	// contains filtered or unexported fields
}
func (p *FileProvider) Links() ([]string, error)

type HtmlProvider

type HtmlProvider struct {
	// contains filtered or unexported fields
}
func (p *HtmlProvider) Links() ([]string, error)

type Provider

type Provider interface {
	Links() ([]string, error)
}

func NewFileProvider

func NewFileProvider(path string, fileSystem internal.FileSystem) Provider

func NewHtmlProvider

func NewHtmlProvider(url string, httpClient internal.HttpClient, parameters *internal.Parameters) Provider

Jump to

Keyboard shortcuts

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