# Functions
NewOpenchainServer creates a new instance of the ServerOpenchain.
NewOpenchainServerWithPeerInfo creates a new instance of the ServerOpenchain.
StartOpenchainRESTServer initializes the REST service and adds the required middleware and routes.
# Variables
JSON RPC 2.0 errors and messages.
JSON RPC 2.0 errors and messages.
JSON RPC 2.0 errors and messages.
ErrNotFound is returned if a requested resource does not exist.
JSON RPC 2.0 errors and messages.
JSON RPC 2.0 errors and messages.
JSON RPC 2.0 errors and messages.
JSON RPC 2.0 errors and messages.
-32000 to -32099 - Server error.
Pre-defined errors and messages.
# Structs
ServerOpenchain defines the Openchain server object, which holds the Ledger data structure and the pointer to the peerServer.
ServerOpenchainREST defines the Openchain REST service object.
# Interfaces
PeerInfo defines API to peer info data.