# Packages
No description provided by the author
# Functions
Close terminates connection to persistent storage.
DecodeUid takes an XTEA encrypted Uid and decrypts it into an int64.
EncodeUid applies XTEA encryption to an int64 value.
GetAdapterName returns the name of the current adater.
GetAuthHandler returns an auth handler by name.
GetMediaHandler returns default media handler.
GetUid generates a unique ID suitable for use as a primary key.
GetUidString generate unique ID as string.
GetValidator returns registered validator by name.
InitDb creates a new database instance.
IsOpen checks if persistent storage connection has been initialized.
Open initializes the persistence system.
RegisterAdapter makes a persistence adapter available.
RegisterAuthScheme registers an authentication scheme handler.
RegisterMediaHandler saves reference to a media handler (file upload-download handler).
RegisterValidator registers validation scheme.
UseMediaHandler sets specified media handler as default.
# Variables
Devices is an instance of DeviceMapper to map methods to.
Files is an instance of FileMapper to be used for handling file uploads.
Messages is an instance of MessagesObjMapper to map methods to.
Subs is an instance of SubsObjMapper to map methods to.
Topics is an instance of TopicsObjMapper to map methods to.
Users is the ancor for storing/retrieving User objects.
# Structs
DeviceMapper is a struct to map methods used for handling device IDs, used to generate push notifications.
FileMapper is a struct to map methods used for file handling.
MessagesObjMapper is a struct to hold methods for persistence mapping for the Message object.
SubsObjMapper is A struct to hold methods for persistence mapping for the Subscription object.
TopicsObjMapper is a struct to hold methods for persistence mapping for the topic object.
UsersObjMapper is a users struct to hold methods for persistence mapping for the User object.