Documentation
¶
Overview ¶
Package server implements a deterministic local protocol fixture. It only represents this project's current pack interpretation and is not a claim of protocol authority.
Index ¶
Constants ¶
View Source
const ( SyntheticBearerToken = "synthetic-test-token" SyntheticAPIKey = "synthetic-test-key" )
Variables ¶
View Source
var ErrTransformerNotApplicable = errors.New("transformer not applicable")
ErrTransformerNotApplicable indicates that a transformer deliberately does not target the current exchange. The handler preserves the unmodified reference response and does not advertise the transformer ID. Other errors are treated as transformer failures.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MaxBodyBytes int64
RequestTimeout time.Duration
Transformer Transformer
}
type Transformer ¶
Click to show internal directories.
Click to hide internal directories.