timewarp

package
v0.0.0-...-eaaab9e Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package timewarp implements a registry-fronting HTTP service that filters returned content by time.

This functionality allows us to transparently adjust the data returned to package manager clients to reflect the state of the registry at a given point in time (esp. a prior build time).

When run on a local port, an example invocation for NPM would be:

npm --registry "http://npm:2015-05-13T10:31:26.370Z@localhost:8081" install

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

Handler implements a registry-fronting HTTP service that filters returned content by time.

func (Handler) ServeHTTP

func (Handler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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