urls

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagIDParameter  = "tagID"
	PageIDParameter = "pageID"
)
View Source
const (
	Index = "/"

	Auth      = "/auth"
	AuthLogin = Auth + "/login"
	AuthSAML  = Auth + "/saml2"

	AuthSAMLInitiate = AuthSAML + "/begin"
	AuthSAMLInbound  = AuthSAML + "/acs"

	Tags         = "/tags"
	NewTag       = Tags + "/new"
	ListTagPages = Tags + "/:" + TagIDParameter

	Pages      = "/pages"
	ViewPage   = "/~/:" + PageIDParameter
	NewPage    = Pages + "/new"
	EditPage   = Pages + "/:" + PageIDParameter + "/edit"
	DeletePage = Pages + "/:" + PageIDParameter + "/delete"
)

Variables

This section is empty.

Functions

func Make

func Make(path string, subs ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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