Module fog_db_traits::gate

source ·
Expand description

The Database access Gate interface. Used for opening up the database to remote nodes.

A Gate is an open access point by which remote nodes can connect to your local database for document retrieval and querying, via the cursor API.

Structs

Enums

Traits

  • An open Gate. Allows other nodes in a network to read the database with a cursor, starting from the hash at which the gate was opened. Any document that can be navigated to is thus visible to other nodes. An exception is for some entries - certain entries may be marked with a policy that further limits visibility to the network, and those entries will not be available for cursor navigation.