Documentation ¶
Overview ¶
Package drpcconn creates a drpc client connection from a transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a drpc client connection.
func NewWithOptions ¶ added in v0.0.7
NewWithOptions returns a conn that uses the transport for reads and writes. The Options control details of how the conn operates.
func (*Conn) Invoke ¶
Invoke issues the rpc on the transport serializing in, waits for a response, and deserializes it into out. Only one Invoke or Stream may be open at a time.
type Options ¶ added in v0.0.7
type Options struct { // Manager controls the options we pass to the manager of this conn. Manager drpcmanager.Options }
Options controls configuration settings for a conn.
Click to show internal directories.
Click to hide internal directories.