Code Review
/
ric-plt
/
submgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Xapp-frame, v0.8.1 Rest Subscription Creation /Query /Deletion
[ric-plt/submgr.git]
/
pkg
/
control
/
types.go
diff --git
a/pkg/control/types.go
b/pkg/control/types.go
index
5f46e65
..
c8c09dc
100644
(file)
--- a/
pkg/control/types.go
+++ b/
pkg/control/types.go
@@
-19,14
+19,25
@@
package control
package control
-type RmrPayload struct {
- MessageType int
- SubscriptionId int
- Content string
+import (
+ "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap"
+)
+
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type RequestId struct {
+ e2ap.RequestId
+}
+
+func (rid *RequestId) String() string {
+ return "reqid(" + rid.RequestId.String() + ")"
}
}
-type RmrDatagram struct {
- MessageType int
- SubscriptionId int
- Payload []byte
+type Sdlnterface interface {
+ Set(pairs ...interface{}) error
+ Get(keys []string) (map[string]interface{}, error)
+ GetAll() ([]string, error)
+ Remove(keys []string) error
+ RemoveAll() error
}
}