handlers

package
v0.0.0-...-08a0481 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(client registry.Client) http.HandlerFunc

Compare handler displays a diff between two package versions.

func DownloadDir

func DownloadDir(client registry.Client) http.HandlerFunc

DownloadDir handler serves a zip archive of the package contents.

func DownloadFile

func DownloadFile(client registry.Client) http.HandlerFunc

DownloadFile handler serves a file from the package contents.

func ReadDir

func ReadDir(client registry.Client) http.HandlerFunc

ReadDir handler displays a directory view of package contents at the provided path.

func ReadFile

func ReadFile(client registry.Client) http.HandlerFunc

ReadFile handler displays a file view of package contents at the provided path.

func Versions

func Versions(client registry.Client) http.HandlerFunc

Versions handler displays all available package versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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