This repository has no description

cmd/tap: move component initalisation into constructor fns (#1307) master

This PR moves the declaration of the various tap components from runTap to various constructor functions. Along the way I also took the liberty of unexporting various fields, and plumbed the outboxOnly mode down to main.Tap rather than the whole config object. There is no functional change, just breaking out the initalisation for each component so in tests we can use the same logic as in runTap.