Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dialers map[string]Dialer
Dialers is map of transport strings to Dialers and includes all builtin transports
Functions ¶
This section is empty.
Types ¶
type Peer ¶
Peer is a mux session, RPC client and responder, all in one.
func Dial ¶
Dial connects to a remote address using a registered transport and returns a Peer. Available transports are "tcp", "unix", "ws", and "stdio". In the case of "stdio", the addr can be left an empty string.
Click to show internal directories.
Click to hide internal directories.