X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=a1-go%2Fpkg%2Fresthooks%2Ftypes.go;h=83028743e9068c8ce051790e68709c2b15cc036a;hb=f1e014de1ceeb2dd1c88f29c2eb3663d2cd90d2a;hp=f18ca578c72029fe9937f54c6c04dc390498c7fb;hpb=ab3e9ee563b7467bcda8ebbc4187b971690599d2;p=ric-plt%2Fa1.git diff --git a/a1-go/pkg/resthooks/types.go b/a1-go/pkg/resthooks/types.go index f18ca57..8302874 100644 --- a/a1-go/pkg/resthooks/types.go +++ b/a1-go/pkg/resthooks/types.go @@ -27,4 +27,7 @@ type Resthook struct { type iSdl interface { GetAll(string) ([]string, error) SetIfNotExists(ns string, key string, data interface{}) (bool, error) + Get(string, []string) (map[string]interface{}, error) + SetIf(ns string, key string, oldData, newData interface{}) (bool, error) + Set(ns string, pairs ...interface{}) error }