Documentation
¶
Overview ¶
Package trusttunnel serves TrustTunnel over HTTP/2 and optionally HTTP/3 in-process.
Index ¶
Constants ¶
const Protocol = "trusttunnel"
Variables ¶
var BindIP net.IP
BindIP is nil in production. Tests bind the listener to loopback so a test binary never opens a wildcard listener.
var Factory engine.Factory = New
var KeepAlive = net.KeepAliveConfig{Enable: true, Idle: 15 * time.Second, Interval: 5 * time.Second, Count: 3}
KeepAlive is what the engine sets on the connections of the listener it binds. On a port the agent shares, the front sets it on a connection once it has chosen this route (front.Route.KeepAlive).
Functions ¶
Types ¶
This section is empty.