X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=c8c09dca0f79ad0a63a57d0210d59212f8613c0f;hb=316d8a176feac5e67dcaa360c0f5996e87b32904;hp=08bcda4360c2878d3d39939da73b7357a3738044;hpb=b31b13f2e2603404d57c2f81260a6e2727aaeb97;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 08bcda4..c8c09dc 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -33,3 +33,11 @@ type RequestId struct { func (rid *RequestId) String() string { return "reqid(" + rid.RequestId.String() + ")" } + +type Sdlnterface interface { + Set(pairs ...interface{}) error + Get(keys []string) (map[string]interface{}, error) + GetAll() ([]string, error) + Remove(keys []string) error + RemoveAll() error +}