fetcher

package
v0.0.0-...-6cb0450 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Fetcher

type Fetcher struct {
}

type Result

type Result struct {
	HTML        string `json:"HTML"`
	Name        string `json:"name"`
	Link        string `json:"link"`
	PKGURL      string `json:"pkgurl"`
	License     string `json:"license"`
	LicenseLink string `json:"licenseceLink"`
	Description string `json:"description"`
	Snippet     string `json:"snippet"`
}

func Parse

func Parse(html string) ([]*Result, error)

func ParseResult

func ParseResult(cfg *cfg.Cfg) ([]*Result, error)

Jump to

Keyboard shortcuts

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