lxd: github.com/lxc/lxd/lxd/storage/memorypipe Index | Files

package memorypipe

import "github.com/lxc/lxd/lxd/storage/memorypipe"

Index

Package Files

memory_pipe.go

func NewPipePair Uses

func NewPipePair() (io.ReadWriteCloser, io.ReadWriteCloser)

NewPipePair returns a pair of io.ReadWriterCloser pipes that are connected together such that writes to one will appear as reads on the other and vice versa. Calling Close() on one end will indicate to the other end that the session has ended.

Package memorypipe imports 1 packages (graph) and is imported by 2 packages. Updated 2019-12-29. Refresh now. Tools for package owners.