Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Wrapper for RPC client
func (*Client) Connect ¶
Connect to RPC server. Blocking
Idempotent. Returns nil if already connected. Each call to this function must be followed by a corresponding disconnect
func (*Client) Disconnect ¶
Disconnect from RPC server.
Idempotent. Returns nil if already disconnected
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Wrapper for RPC server
func (*Server) Down ¶
Shutdown RPC server. Blocks until all connections to the server are terminated. Successful call indicates that server can be started again
Idempotent. Returns nil if already stopped
Click to show internal directories.
Click to hide internal directories.