# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLWWRegisterWithClock uses the custom clock value if the clock selected is a custom clock.
No description provided by the author
No description provided by the author
No description provided by the author
NewServer returns an initialized Server.
No description provided by the author
No description provided by the author
# Constants
A custom clock.
CustomAutoIncrement is a custom clock, that automatically increments the custom value if the local clock value is greater than it.
The Default clock, uses the current system time as the clock value.
A Reverse clock, based on the system clock.
# Variables
No description provided by the author
No description provided by the author
# Structs
A CommandContext carries change and cancel function handlers and other values to handle a command over different phases of a commands lifecycle.
Context holds the context of a running entity.
Entity captures an Entity with its ServiceName.
A Flag is a boolean value that starts as false, and can be set to true.
GCounter, or Grow-only Counter, is a counter that can only be incremented.
GSet, or Grow-only Set, is a set that can only have items added to it.
LWWRegister, or Last-Write-Wins Register, is a CRDT that can hold any value, along with a clock value and node id to indicate when it was updated by which node.
ORMap, or Observed-Removed Map, is similar to an ORSet, with the addition that the values of the set serve as keys for a map, and the values of the map are themselves, CRDTs.
No description provided by the author
ORSet, or Observed-Removed Set, is a set that can have items both added and removed from it.
PNCounter, or Positive-Negative Counter, is a counter that can both be incremented and decremented.
Server is the implementation of the Server server API for the CRDT service.
A Vote is a CRDT which allows nodes to vote on a condition.
# Interfaces
No description provided by the author
EntityHandler has to be implemented by any type that wants to get registered as a crdt.Entity tag::entity-handler[].
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author