Documentation
¶
Overview ¶
Package network owns endpoint authority policy and pinned public-address dialing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Endpoint ¶
Endpoint validates a capability URL without changing its path or query, then reports whether its origin satisfies the selected policy. Policy errors never include the supplied URL. A nil origins slice selects curated providers.
func NewDialer ¶
NewDialer resolves and validates every connection's complete DNS answer and dials only numeric addresses. The HTTP transport retains the original URL hostname for TLS verification. Construction performs no DNS or network I/O.
func ValidateOrigins ¶
ValidateOrigins checks trusted overrides once. Origins have canonical lowercase authorities and no trailing slash so matching is unambiguous.
Types ¶
This section is empty.