Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn implements drpc.Conn using the yamux multiplexer to allow concurrent RPCs
func New ¶
func New(conn io.ReadWriteCloser) (*Conn, error)
New returns a new multiplexed DRPC connection
func (*Conn) Close ¶
Close closes the multiplexer session and the underlying connection.
func (*Conn) Closed ¶
func (m *Conn) Closed() <-chan struct{}
Closed returns a channel that will be closed when the connection is closed
Click to show internal directories.
Click to hide internal directories.