package
1.4.12
Repository: https://github.com/arktree/fabric.git
Documentation: pkg.go.dev

# Functions

ConstructMetadataDBName truncates the db name to couchdb allowed length to construct the metadataDBName.
ConstructNamespaceDBName truncates db name to couchdb allowed length to construct the namespaceDBName.
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.
CreateSystemDatabasesIfNotExist - creates the system databases if they do not exist.
GetCouchDBDefinition exposes the useCouchDB variable.
IsJSON tests a string to determine if a valid JSON.

# Structs

AttachmentInfo contains the definition for an attached file for couchdb.
Base64Attachment contains the definition for an attached file for couchdb.
BatchRetrieveDocMetadataResponse is used for processing REST batch responses from CouchDB.
BatchUpdateResponse defines a structure for batch update response.
ConnectionInfo is a structure for capturing the database info and version.
CouchConnectionDef contains parameters.
CouchDatabase represents a database within a CouchDB instance.
CouchDBDef contains parameters.
CouchDoc defines the structure for a JSON document value.
CouchInstance represents a CouchDB instance.
CreateIndexResponse contains an the index creation response from CouchDB.
DatabaseSecurity contains the definition for CouchDB database security.
DBInfo is body for database information.
DBOperationResponse is body for successful database calls.
DBReturn contains an error reported by CouchDB.
DocID is a minimal structure for capturing the ID from a query result.
DocMetadata is used for capturing CouchDB document header info, used to capture id, version, rev and attachments returned in the query from CouchDB.
FileDetails defines the structure needed to send an attachment to couchdb.
IndexResult contains the definition for a couchdb index.
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.