luci: Index | Files

package localclient

import ""


Package Files


func New Uses

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.

Package localclient imports 4 packages (graph) and is imported by 1 packages. Updated 2019-06-18. Refresh now. Tools for package owners.