X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=internal%2Fcli%2Ftypes.go;h=53953a8388aa0d05b0bfe6bec12830e521b1c078;hb=refs%2Fchanges%2F76%2F7076%2F3;hp=5321f0cf95fadf21ebed0dc8712899bcb8005873;hpb=273d032db02901dba8deeb692f92ed2366dc6ee5;p=ric-plt%2Fsdlgo.git diff --git a/internal/cli/types.go b/internal/cli/types.go index 5321f0c..53953a8 100644 --- a/internal/cli/types.go +++ b/internal/cli/types.go @@ -41,7 +41,10 @@ type DbCreateCb func() *Database //iSyncStorage is an interface towards SDL SyncStorage API type ISyncStorage interface { + Get(ns string, keys []string) (map[string]interface{}, error) ListKeys(ns string, pattern string) ([]string, error) + Set(ns string, pairs ...interface{}) error + Remove(ns string, keys []string) error } //SyncStorageCreateCb callback function type to create a new SyncStorageInterface