Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPruneStore ¶
func NewPruneStore(pluginAPI PluginAPIClient, log bot.Logger, sqlStore *SQLStore) app.PruneStore
Types ¶
type ConfigurationAPI ¶
type KVAPI ¶
KVAPI is the key value store interface for the pluginkv stores. It is implemented by mattermost-plugin-api/Client.KV, or by the mock KVAPI.
type PluginAPIClient ¶
type PluginAPIClient struct { Store StoreAPI KV KVAPI Configuration ConfigurationAPI }
PluginAPIClient is the struct combining the interfaces defined above, which is everything from pluginapi that the store currently uses.
func NewClient ¶
func NewClient(api *pluginapi.Client) PluginAPIClient
NewClient receives a pluginapi.Client and returns the PluginAPIClient, which is what the store will use to access pluginapi.Client.
Click to show internal directories.
Click to hide internal directories.