webui

package
v0.0.0-...-7ab2dc6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(repo repository.ClockedRepo, host string, port int) error

Types

type ApiActionSetStatus

type ApiActionSetStatus struct {
	Ticket string
	Status string
}

type ApiActionSubmitComment

type ApiActionSubmitComment struct {
	Ticket  string
	Comment string
}

type Bookmark

type Bookmark struct {
	Label string
	Query string
}

type BookmarkGroup

type BookmarkGroup struct {
	Group     string
	Bookmarks []Bookmark
}

type HandlerWithRepoCache

type HandlerWithRepoCache = func(*cache.RepoCache, io.Writer, *http.Request) error

type WebUiConfig

type WebUiConfig struct {
	Xref
	BookmarkGroups []BookmarkGroup
}

Configuration for the web UI.

type Xref

type Xref struct {
	FullPattern *regexp.Regexp
	Rules       []XrefRule
}

type XrefRule

type XrefRule struct {
	Pattern *regexp.Regexp
	Link    *template.Template
}

Jump to

Keyboard shortcuts

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