Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadCast = errors.New("bad cast")
ErrBadCast indicates an unexpected concrete request or response struct was received from an endpoint.
View Source
var ErrContextCanceled = errors.New("context canceled")
ContextCanceled indicates the request context was canceled.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
Endpoint is the fundamental building block of servers and clients. It represents a single RPC method.
type Middleware ¶
Middleware is a chainable behavior modifier for endpoints.
Click to show internal directories.
Click to hide internal directories.