# Packages
Package mock_store is a generated GoMock package.
Package types provides data types for persisting objects in the databases.
# Functions
DecodeUid takes an XTEA encrypted Uid and decrypts it into an int64.
EncodeUid applies XTEA encryption to an int64 value.
InitAuthLogicalNames initializes authentication mapping "logical handler name":"actual handler name".
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.
# Variables
Devices is a singleton instance of DevicePersistenceInterface to map methods to.
Files is a sigleton instance of FilePersistenceInterface to be used for handling file uploads.
Messages is a singleton ancor object for exporting MessagesPersistenceInterface.
No description provided by the author
Store is the main object for interacting with persistent storage.
Subs is a singleton ancor object exporting SubsPersistenceInterface.
Topics is a singleton ancor object exporting TopicsPersistenceInterface methods.
Users is a singleton ancor object exporting UsersPersistenceInterface methods.
# Interfaces
DevicePersistenceInterface is an interface which defines methods used for handling device IDs.
FilePersistenceInterface is an interface wchich defines methods used for file handling (records or uploaded files).
MessagesPersistenceInterface is an interface which defines methods for persistent storage of messages.
PersistentCacheInterface is an interface which defines methods used for accessing persistent key-value cache.
PersistentStorageInterface defines methods used for interation with persistent storage.
SubsPersistenceInterface is an interface which defines methods for persistent storage of subscriptions.
TopicsPersistenceInterface is an interface which defines methods for persistent storage of topics.
UsersPersistenceInterface is an interface which defines methods for persistent storage of user records.