Directories ¶
Path | Synopsis |
---|---|
proto
Package test is a generated protocol buffer package.
|
Package test is a generated protocol buffer package. |
cmd
|
|
Uses nacl's secret_box to encrypt a net.Conn.
|
Uses nacl's secret_box to encrypt a net.Conn. |
upnp
Taken from taipei-torrent.
|
Taken from taipei-torrent. |
rpc
|
|
client
package client provides a general purpose interface (Client) for connecting to a tendermint node, as well as higher-level functionality.
|
package client provides a general purpose interface (Client) for connecting to a tendermint node, as well as higher-level functionality. |
client/mock
package mock returns a Client implementation that accepts various (mock) implementations of the various methods.
|
package mock returns a Client implementation that accepts various (mock) implementations of the various methods. |
core
# Introduction Tendermint supports the following RPC protocols: * URI over HTTP * JSONRPC over HTTP * JSONRPC over websockets Tendermint RPC is built using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib).
|
# Introduction Tendermint supports the following RPC protocols: * URI over HTTP * JSONRPC over HTTP * JSONRPC over websockets Tendermint RPC is built using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib). |
grpc
Package core_grpc is a generated protocol buffer package.
|
Package core_grpc is a generated protocol buffer package. |
lib
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
|
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`. |
lib/server
Commons for HTTP handling
|
Commons for HTTP handling |
test
|
|
Click to show internal directories.
Click to hide internal directories.