Documentation
¶
Overview ¶
Package fronttest puts a real front on loopback in front of an engine under test: the engine's tests then show what reaches it through the shared port, not what a stand-in would.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
Port is a front that binds the loopback port an engine asks for and gives the engine the route of its inbound. Set engine.Env.SharedListener to Listener.
func New ¶
New returns a Port with these routes; the first is the default one. The front starts when the first engine asks for its route, and closes with the test.