networktransform

package
v0.0.0-...-e7b3cca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL