Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxMarkerNames bounds the unique canonical customer-secret names one // domain's transform set may reference. MaxMarkerNames = 32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Placeholder ¶
type Placeholder struct {
Kind PlaceholderKind
Name string
Start int
End int
}
Placeholder is a typed, half-open byte span in the original header value.
func ParsePlaceholders ¶
func ParsePlaceholders(value string) ([]Placeholder, error)
ParsePlaceholders parses known placeholders in value from left to right. Text outside the two known prefixes is opaque.
type PlaceholderKind ¶
type PlaceholderKind uint8
PlaceholderKind identifies the value source for a parsed placeholder.
const ( // PlaceholderIdentityToken selects a persisted named identity token. PlaceholderIdentityToken PlaceholderKind = iota + 1 // PlaceholderCustomerSecret selects a customer secret. PlaceholderCustomerSecret )
Click to show internal directories.
Click to hide internal directories.