Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EncryptionStatusStoreKeyPrefix prefix for encryption status data key is kvsotre
EncryptionStatusStoreKeyPrefix = "es_"
)
View Source
const UserStoreKeyPrefix = "user_"
UserStoreKeyPrefix prefix for user data key is kvsotre
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptionStatusStore ¶
type EncryptionStatusStore interface { IsEncryptionEnabled(channelID, userID string) bool SetEncryptionStatus(channelID, userID string, status bool) error }
EncryptionStatusStore API for encryption statuses in KVStore
type Store ¶
type Store interface { UserStore EncryptionStatusStore }
Store encapsulates all store APIs
func NewPluginStore ¶
NewPluginStore creates Store object from plugin.API
Click to show internal directories.
Click to hide internal directories.