Moving RMR message reciver into go routine
[ric-plt/a1.git] / a1-go / pkg / resthooks / types.go
index 01f4258..2eb2f6d 100644 (file)
@@ -22,6 +22,7 @@ package resthooks
 
 import (
        "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/rmr"
+       "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
 )
 
 type Resthook struct {
@@ -34,6 +35,7 @@ type iSdl interface {
        Get(string, []string) (map[string]interface{}, error)
        SetIf(ns string, key string, oldData, newData interface{}) (bool, error)
        Set(ns string, pairs ...interface{}) error
+       Remove(ns string, keys []string) error
 }
 
 type iRMRClient interface {