Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizePath ¶
NormalizePath normalizes a path if matching one of the provided masks, or returns the original path instead.
For example: NormalizePath(map[string]string{"/foo/(.+)", "/foo/{id}"}, "/foo/1") will return "/foo/{id}".
func NormalizeStatus ¶
NormalizeStatus normalizes an HTTP status code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.