identitywire

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package identitywire captures protocol-neutral client identity carriers into canonical invocation metadata. Security and emission policy stay in core; adapters only lift the HTTP User-Agent header.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureClientUserAgent

func CaptureClientUserAgent(inv *lipapi.Invocation, h http.Header)

CaptureClientUserAgent copies a trimmed User-Agent into inv when present and acceptable. Missing, blank, over-long, and CR/LF/NUL/control values leave the field unchanged (invalid identity is dropped; decode continues). The header map is never mutated. Only User-Agent is read.

Types

This section is empty.

Jump to

Keyboard shortcuts

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