Documentation ¶
Overview ¶
drpc is a light replacement for gprc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Server ¶ added in v0.0.3
type Server interface {
Register(srv interface{}, desc Description)
}
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
package drpcconn creates a drpc client connection from a transport.
|
package drpcconn creates a drpc client connection from a transport. |
package drpcctx has helpers to interact with context.Context.
|
package drpcctx has helpers to interact with context.Context. |
package drpcdebug provides helpers for debugging.
|
package drpcdebug provides helpers for debugging. |
package drpcerr lets one associate error codes with errors.
|
package drpcerr lets one associate error codes with errors. |
package drpcmanager reads packets from a transport to make streams.
|
package drpcmanager reads packets from a transport to make streams. |
package drpcserver allows one to execute registered rpcs.
|
package drpcserver allows one to execute registered rpcs. |
package drpcsignal holds a helper type to signal errors.
|
package drpcsignal holds a helper type to signal errors. |
package drpcstream sends protobufs using the dprc wire protocol.
|
package drpcstream sends protobufs using the dprc wire protocol. |
package drpcwire provides low level helpers for the drpc wire protocol.
|
package drpcwire provides low level helpers for the drpc wire protocol. |
examples
|
|
drpc
Module
|
|
drpc_and_http
Module
|
|
grpc
Module
|
|
grpc_and_drpc
Module
|
|
opentelemetry
Module
|
|
internal
|
|
integration
package integration holds integration tests for drpc.
|
package integration holds integration tests for drpc. |
backcompat
Module
|
|
backcompat/newservice
Module
|
|
backcompat/newservicedefs
Module
|
|
backcompat/oldservice
Module
|
|
backcompat/oldservicedefs
Module
|
|
backcompat/servicedefs
Module
|
|
grpccompat
Module
|
|
twirpcompat
Module
|
Click to show internal directories.
Click to hide internal directories.