Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Storing metadata for Policy Instance.
[ric-plt/a1.git]
/
a1-go
/
pkg
/
resthooks
/
types.go
diff --git
a/a1-go/pkg/resthooks/types.go
b/a1-go/pkg/resthooks/types.go
index
f18ca57
..
8302874
100644
(file)
--- 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)
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
}
}