package
0.6.1-preview
Repository: https://github.com/hyperledger-labs/fabric.git
Documentation: pkg.go.dev

# 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.