git

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(args []string, opts ...Option) http.Handler

Types

type HandleFuncE

type HandleFuncE func(http.ResponseWriter, *http.Request) error

type HeaderData

type HeaderData struct {
	Message string
	JQ      string

	Repo     string
	RepoLink string
	Ref      string
	RefLink  string
	Path     string
	PathLink string
}

type Option

type Option func(h *handler)

func WithUserAgent

func WithUserAgent(ua string) Option

type TitleData

type TitleData struct {
	Title string
}

Jump to

Keyboard shortcuts

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