sessionaffinity

package
v0.0.33 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: 0 Imported by: 0

Documentation

Overview

Package sessionaffinity defines the root transport contract for mecatl's optional session routing hint. The header grants no authority.

Index

Constants

View Source
const (
	// HeaderName is the canonical HTTP/gRPC metadata field name.
	HeaderName = "X-Mecatl-Session-ID"
	// MaxValueBytes bounds the exact field value accepted at transport ingress.
	MaxValueBytes = 256
)

Variables

This section is empty.

Functions

func ValidValue

func ValidValue(value string) bool

ValidValue reports whether value can be carried unchanged by HTTP and gRPC. It deliberately performs no trimming, encoding, or other normalization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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