cargo

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

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

Go to latest
Published: Jan 22, 2025 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 Crawler

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

func NewCrawler

func NewCrawler(opts ...Option) *Crawler

func (*Crawler) DetectSrc

func (c *Crawler) DetectSrc(ctx context.Context, pkg config.Package) (*xurl.URL, error)

type Option

type Option func(*Crawler)

func WithURL

func WithURL(url string) Option

type Response

type Response struct {
	Crate struct {
		Repository string `json:"repository"`
	} `json:"crate"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳