# Functions
AccessKeyAuth creates an AuthTokenProvider that uses an access key to authenticate.
JSONItemMapper should be used when you want to work with JSON data in your StatelyDB store.
NewAppendIDAssignment converts from a name to a AppendIDAssignment type.
NewClient creates a new client with the given store + schema version with options.
ReduceTo is a helper function to unmarshal a list of items of a specific item type.
RegionToEndpoint converts a region to an endpoint.
ToKeyID converts an ID to a key ID.
# Constants
AppendIDAssignmentRand53 will assign the item a random 53-bit numeric ID that is unique *within the parent path and item type*, but is not globally unique.
AppendIDAssignmentSequence will assign the item a monotonically increasing, contiguous ID that is unique *within the parent path and item type*.
AppendIDAssignmentUUID will assign the item a globally unique 128-bit UUID.
Ascending is the default sort direction.
Descending is the reverse sort direction.
SortByKeyPath sorts by the key path.
SortByLastModifiedVersion sorts by the last time the item was modified.
# Structs
Changed is a SyncResponse that indicates that the item was changed.
ContinueOptions are optional parameters for Continue.
Deleted is a SyncResponse that indicates that the item was deleted.
GeneratedID represents a unique ID that was generated by the server for a new item.
JSONItem allows for sending and receiving data as JSON in the StatelyDB.
ListOptions are optional parameters for List.
ListRequest starts a list operation.
ListToken is a stateless token that saves your place in a result set, allowing you to fetch additional results with ContinueList, or get updated results with SyncList.
Options is a set of common options for a stately API client.
Reset is a SyncResponse that indicates that the sync operation should be reset.
TransactionResults holds all the results of a transaction after a commit.
UnknownItemTypeError is returned when we receive an item type in the wire format and don't have a corresponding SDK type to map to.
UpdateOutsideOfWindow is a SyncResponse containing items that were updated but Stately cannot tell if they were in the sync window.
WithPutOptions wraps an item and adds options for use when putting the item.
# Interfaces
Client is a stately client that interacts with the given store.
Item is the interface that all Stately items implement.
ListResponse allows you to write idiomatic Go code to iterate over a list of value.
SyncResponse is a response from a sync operation.
Transaction represents a single transaction.
# Type aliases
AllowStale - If true, you're okay with getting a slightly stale item - that is, if you had just changed an item and then call get or list on it, you might get the old version of the item.
AppendIDAssignment specifies the ID assignment strategy when Appending an Item.
AuthTokenProvider is the functional interface which the client uses to authenticate outgoing requests.
ItemTypeMapper is a function that maps a db.Item to your SDK generated types.
OrganizationID is a globally-unique identifier for an organization.
ProjectID is a globally-unique identifier for a project.
SchemaID is a globally-unique identifier for a schema.
SchemaVersionID is a version of a specific SchemaID.
SortableProperty is the property to sort by.
SortDirection is the direction to sort by.
StoreID is a globally-unique identifier for a store.
TransactionHandler operates on a single transaction.
UserID is a globally-unique identifier for a Stately user.