function
IsValidEndpointPath
Validate the deterministic custom endpoint path grammar.
Arguments
| Argument | Type | Description |
|---|---|---|
path | string | The path value. |
Returns
The declared result.
boolHow it works
Paths begin with / and may contain complete unique :parameter segments. Query strings, fragments, traversal, empty segments, wildcards, braces, percent escapes, whitespace, and partial parameters are rejected.
Full signature
func IsValidEndpointPath(path string) bool