Directories ¶
Path | Synopsis |
---|---|
Package app encapsulates the client, server and other interfaces to provide a complete dapp
|
Package app encapsulates the client, server and other interfaces to provide a complete dapp |
client
Package client is an interface for an RPC client
|
Package client is an interface for an RPC client |
client/rpc
Package rpc provides a network agnostic RPC client
|
Package rpc provides a network agnostic RPC client |
codec
Package codec is an interface for encoding messages
|
Package codec is an interface for encoding messages |
codec/bytes
Package bytes provides a bytes codec which does not encode or decode anything
|
Package bytes provides a bytes codec which does not encode or decode anything |
codec/json
Package json provides a json codec
|
Package json provides a json codec |
codec/jsonrpc
Package jsonrpc provides a json-rpc 1.0 codec
|
Package jsonrpc provides a json-rpc 1.0 codec |
crypto
Package crypto provides authentication and authorization capability
|
Package crypto provides authentication and authorization capability |
errors
Package errors provides a way to return detailed information for an RPC request error.
|
Package errors provides a way to return detailed information for an RPC request error. |
event
Package event is an interface used for asynchronous messaging
|
Package event is an interface used for asynchronous messaging |
event/nats
Package memory provides a memory event
|
Package memory provides a memory event |
kvrecord
Package db is an interface for data storage
|
Package db is an interface for data storage |
kvrecord/file
Package memory is a in-memory db.store
|
Package memory is a in-memory db.store |
logger
Package log provides a log interface
|
Package log provides a log interface |
metadata
Package metadata is a way of defining message headers
|
Package metadata is a way of defining message headers |
network
Package network is an interface for synchronous connection based communication
|
Package network is an interface for synchronous connection based communication |
network/socket
Package socket provides a net socket network
|
Package socket provides a net socket network |
registry
Package registry is an interface for service discovery
|
Package registry is an interface for service discovery |
registry/table
Package memory provides an in-memory registry
|
Package memory provides an in-memory registry |
router
Package router provides a network routing control plane
|
Package router provides a network routing control plane |
server
Package server is an interface for a micro server
|
Package server is an interface for a micro server |
examples
|
|
study
|
|
util
|
|
backoff
Package backoff provides backoff functionality
|
Package backoff provides backoff functionality |
pool
Package pool is a connection pool
|
Package pool is a connection pool |
ring
Package ring provides a simple ring buffer for storing local data
|
Package ring provides a simple ring buffer for storing local data |
socket
Package socket provides a pseudo socket
|
Package socket provides a pseudo socket |
Click to show internal directories.
Click to hide internal directories.