summaryrefslogtreecommitdiff
path: root/plugins/kv/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-22 00:48:35 +0300
committerValery Piashchynski <[email protected]>2021-04-22 00:48:35 +0300
commite4d65a41ec90747a387cfe769f743327959f7105 (patch)
tree2b5245fa0a86197d4699fc840c658ffa86cd957b /plugins/kv/interface.go
parente1e168da92e0dca0e067e08ecb4cf264b9344d45 (diff)
- General interface, update RPC and Has/Set methods
Diffstat (limited to 'plugins/kv/interface.go')
-rw-r--r--plugins/kv/interface.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/kv/interface.go b/plugins/kv/interface.go
index c1367cdf..6c2a66f2 100644
--- a/plugins/kv/interface.go
+++ b/plugins/kv/interface.go
@@ -38,4 +38,8 @@ type Storage interface {
// Close closes the storage and underlying resources.
Close() error
+
+ // Configure used to configure storage
+ // key - yaml config key, for example kv.boltdb-north
+ Configure(key string) (Storage, error)
}