request

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const WebSections = "head tree blob raw diff refs log commit"

Variables

View Source
var (
	ErrMalformed      = errors.New("malformed request")
	ErrUnknownSection = errors.New("request for unknown Section")
)

Functions

This section is empty.

Types

type Request

type Request struct {
	Repo             string
	Section          string
	Revision         string
	Path             string
	From             data.Hash
	DiffFrom, DiffTo string
}

func Parse

func Parse(url *url.URL) (*Request, error)

Jump to

Keyboard shortcuts

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