Documentation
¶
Overview ¶
Package httppath shares HTTP pattern grammar between runtime and generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Description ¶ added in v0.36.0
type Description struct {
ParameterPrefix string `json:"parameter_prefix"`
ParameterSuffix string `json:"parameter_suffix"`
TailSuffix string `json:"tail_suffix"`
ParameterName string `json:"parameter_name"`
ForbiddenLiteralCharacters string `json:"forbidden_literal_characters"`
ForbiddenSegments [2]string `json:"forbidden_segments"`
ControlMax int `json:"control_max"`
ControlDelete int `json:"control_delete"`
TrailingSlash string `json:"trailing_slash"`
UTF8Required bool `json:"utf8_required"`
// Upload ingress bounds bytes; ValidText owns UTF-8 validation in the router.
UploadIngressUTF8Enforced bool `json:"upload_ingress_utf8_enforced"`
}
Description is the machine-readable grammar exported with the deploy tools.
func Syntax ¶ added in v0.36.0
func Syntax() Description
Syntax describes the parser's single-segment subset for deployment tooling. Deploy policies add resource bounds and exclude catch-all parameters.
Click to show internal directories.
Click to hide internal directories.