Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrReturnNotChannel = errors.New("function call returns channel but return value is not a channel type") ErrReturnNotPointer = errors.New("function call returns value but return value is not a pointer") ErrMismatchedType = errors.New("type of channel does not match type returned by server") )
Client error values
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an lrpc client
func New ¶
func New(conn io.ReadWriteCloser, cf codec.CodecFunc) *Client
New creates and returns a new client
Click to show internal directories.
Click to hide internal directories.