Implement SDL CLI 'set' -command
[ric-plt/sdlgo.git] / internal / cli / types.go
index 5321f0c..448515c 100644 (file)
@@ -42,6 +42,7 @@ type DbCreateCb func() *Database
 //iSyncStorage is an interface towards SDL SyncStorage API
 type ISyncStorage interface {
        ListKeys(ns string, pattern string) ([]string, error)
+       Set(ns string, pairs ...interface{}) error
 }
 
 //SyncStorageCreateCb callback function type to create a new SyncStorageInterface