package
1.0.0-alpha
Repository: https://github.com/leonlxy/hyperledger.git
Documentation: pkg.go.dev

# Functions

CreateConnectionDefinition for a new client connection.
CreateCouchDatabase creates a CouchDB database object, as well as the underlying database if it does not exist.
CreateCouchInstance creates a CouchDB instance.
IsJSON tests a string to determine if a valid JSON.

# Structs

Attachment contains the definition for an attached file for couchdb.
ConnectionInfo is a structure for capturing the database info and version.
CouchConnectionDef contains parameters.
CouchDatabase represents a database within a CouchDB instance.
CouchDoc defines the structure for a JSON document value.
CouchInstance represents a CouchDB instance.
DBInfo is body for database information.
DBOperationResponse is body for successful database calls.
DBReturn contains an error reported by CouchDB.
Doc is used for capturing if attachments are return in the query from CouchDB.
DocID is a minimal structure for capturing the ID from a query result.
DocRev returns the Id and revision for a couchdb document.
FileDetails defines the structure needed to send an attachment to couchdb.
QueryResponse is used for processing REST query responses from CouchDB.
QueryResult is used for returning query results from CouchDB.
RangeQueryResponse is used for processing REST range query responses from CouchDB.