...
GetListNodebIds() ([]*entities.NbIdentity, error)
- Remove UNKNOWN nodeType handling (reason: setup is now deterministic)
...
Optimization
...
suggestions
- Instead managing a list of
[]*NbIdentity,
manage a map of[string]*NbIdentity
, where key consist ofplmnId:nbId
and value is thenbIdentity
. - Instead of managing a SET in REDIS DB, manage a HASH: https://redis.io/topics/data-types