From 1a2c08f1c64515f2d9a412ac0bbeee9d1f3fa62e Mon Sep 17 00:00:00 2001 From: Giorgi Bochorishvili Date: Tue, 22 Nov 2022 11:13:49 +0400 Subject: [PATCH] Add kvget function to store service interface --- product/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/product/api.go b/product/api.go index f8e2a3999d..b77ba0d4f8 100644 --- a/product/api.go +++ b/product/api.go @@ -160,6 +160,7 @@ type CloudService interface { // The service shall be registered via app.KVStoreKey service key. type KVStoreService interface { SetPluginKeyWithOptions(pluginID string, key string, value []byte, options model.PluginKVSetOptions) (bool, *model.AppError) + KVGet(productID, key string) ([]byte, *model.AppError) } // LogService is the API for accessing the log service APIs.