X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fresthooks%2Ftypes.go;fp=pkg%2Fresthooks%2Ftypes.go;h=881c0e3ccac87a6c46b5bcd2df5bdb3336a827b0;hb=a0a851033720e92477a65fb42221dda3a519ac6c;hp=13765000cbdbbc5adc9f1b7167641c663e979e5f;hpb=576a7e55d3f1acddba1a252ea6007be280aa6edf;p=ric-plt%2Fappmgr.git diff --git a/pkg/resthooks/types.go b/pkg/resthooks/types.go index 1376500..881c0e3 100755 --- a/pkg/resthooks/types.go +++ b/pkg/resthooks/types.go @@ -36,7 +36,6 @@ type Resthook struct { client *http.Client subscriptions cmap.ConcurrentMap db iSdl - db2 iSdl Seq int64 } @@ -49,9 +48,9 @@ type SubscriptionNotification struct { } type iSdl interface { - Set(pairs ...interface{}) error - Get(keys []string) (map[string]interface{}, error) - GetAll() ([]string, error) - RemoveAll() error - Remove([]string) error + Set(ns string, pairs ...interface{}) error + Get(ns string, keys []string) (map[string]interface{}, error) + GetAll(ns string) ([]string, error) + RemoveAll(ns string) error + Remove(ns string, keys []string) error }