Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(b *butler.Butler) streamclient.Client
New creates a new Client instance bound to a local Butler instance. This sidesteps the need for an actual server socket and negotiation protocol and directly registers streams via Butler API calls.
Internally, the Stream uses an io.PipeWriter and io.PipeReader to ferry data from the Stream's owner to the Butler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.