Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewPipe = func(c PipeClient, appID string) (string, xfer.Pipe, error) { return newPipe(xfer.NewPipe(), c, appID) }
NewPipe creates a new pipe and connects it to the app.
Functions ¶
func HandleControlRequest ¶
HandleControlRequest performs a control request.
func NewPipeFromEnds ¶ added in v0.14.0
func NewPipeFromEnds(local, remote io.ReadWriter, c PipeClient, appID string) (string, xfer.Pipe, error)
NewPipeFromEnds creates a new pipe from its ends and connects it to the app.
func Register ¶
func Register(control string, f xfer.ControlHandlerFunc)
Register a new control handler under a given id.
Types ¶
Click to show internal directories.
Click to hide internal directories.