Documentation
¶
Index ¶
Constants ¶
View Source
const (
EncodedPathSeparator = "%2F"
)
Variables ¶
This section is empty.
Functions ¶
func GitPathBefore ¶
GitPathBefore wraps an http.HandlerFunc in a layer that encodes a path coming as part of the GIT api (e.g. "space1/repo.git") before executing the provided http.HandlerFunc.
func TerminatedPathBefore ¶
TerminatedPathBefore wraps an http.HandlerFunc in a layer that encodes a terminated path (e.g. "/space1/space2/+") before executing the provided http.HandlerFunc. The first prefix that matches the URL.Path will be used during encoding (prefix is ignored during encoding).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.