http

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: ISC Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteHTTP

func ExecuteHTTP(ctx *appcontext.AppContext, repo *repository.Repository, mountpoint string, locateOptions *locate.LocateOptions, chrootfs fs.FS) (int, error)

func NewDynamicSnapshotHandler

func NewDynamicSnapshotHandler(list ListFn, open OpenFn) http.Handler

Types

type ListFn

type ListFn func(ctx context.Context, w http.ResponseWriter, r *http.Request)

type OpenFn

type OpenFn func(ctx context.Context, snapshot string) (fs.FS, error)

Jump to

Keyboard shortcuts

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