unpkg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

func New

func New() *Client

func (*Client) FetchPackageFiles

func (c *Client) FetchPackageFiles(ctx context.Context, name, version string) (library.Files, string, error)

type UnpkgFileListing

type UnpkgFileListing struct {
	Path string `json:"path"`
	Type string `json:"type"`
}

type UnpkgMetaResponse

type UnpkgMetaResponse struct {
	Type  string             `json:"type"`
	Path  string             `json:"path"`
	Files []UnpkgFileListing `json:"files"`
}

Jump to

Keyboard shortcuts

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