Add route for e2nodeConfigUpdate
[ric-plt/rtmgr.git] / pkg / sbi / types.go
index d024e94..094a8ad 100644 (file)
@@ -45,13 +45,16 @@ type Engine interface {
        AddEndpoint(*rtmgr.Endpoint) error
        DeleteEndpoint(*rtmgr.Endpoint) error
        UpdateEndpoints(*rtmgr.RicComponents)
+       CheckEndpoint(string) *rtmgr.Endpoint
+       CreateEndpoint(string) (*string, int)
+       DistributeToEp(*[]string, string, int) error
 }
 
-type NngSocket interface {
+/*type NngSocket interface {
        Listen(string) error
        Send([]byte) error
        Close() error
        DialOptions(string, map[string]interface{}) error
 }
 
-type CreateNewNngSocketHandler func() (NngSocket, error)
+type CreateNewNngSocketHandler func() (NngSocket, error)*/