Documentation
¶
Overview ¶
Package testrelaynative hosts the native Rust relay for Go correctness suites.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build prepares a suite-local executable. Callers own the directory and invoke it once per suite, before starting any scenario deadline.
func ValidateListenerAddress ¶
ValidateListenerAddress also confines test proxies to an actual loopback port.
Types ¶
type Fixture ¶
type Fixture struct {
// contains filtered or unexported fields
}
Fixture retains durable state and endpoint identity across sequential starts. Each scenario supplies its own temporary directory; the process owner is shared independently so preparing another relay never rebuilds its supervisor.
func NewFixture ¶
func (*Fixture) TrustIssuer ¶ added in v0.1.5
TrustIssuer configures the same offline admission check an official relay uses.
type Host ¶
type Host struct {
Ready Readiness
// contains filtered or unexported fields
}
func (*Host) Diagnostic ¶
func (*Host) Stderr ¶
func (host *Host) Stderr() testprocess.OutputSnapshot
func (*Host) Stdout ¶
func (host *Host) Stdout() testprocess.OutputSnapshot