package
0.5.0
Repository: https://github.com/progrium/qtalk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient takes a session and codec to make a client for making RPC calls.
NewRespondMux allocates and returns a new RespondMux.
NotFoundHandler returns a simple handler that returns an error "not found".

# Structs

Call is used on the responding side of a call and is passed to the handler.
CallHeader is the first value encoded over the channel to make a call.
Client wraps a session and codec to make RPC calls over the session.
FrameCodec is a special codec used to actually read/write other codecs to a transport using a length prefix.
RespondMux is an RPC call multiplexer.
Response is used on the calling side to represent a response and allow access to the ResponseHeader data, the reply value, the underlying channel, and methods to send or receive encoded values over the channel if Continue was set on the ResponseHeader.
ResponseHeader is the value encoded over the channel to indicate a response.
Server wraps a Handler and codec to respond to RPC calls.

# Interfaces

A Caller is able to perform remote calls.
A Handler responds to an RPC request.
Responder is used by handlers to initiate a response and send values to the caller.

# Type aliases

The HandlerFunc type is an adapter to allow the use of ordinary functions as RPC handlers.
RemoteError is an error that has been returned from the remote side of the RPC connection.