SetRights sets the rights for the given UID.
(uid string, rights *ttnpb.Rights)
| 38 | |
| 39 | // SetRights sets the rights for the given UID. |
| 40 | func (m *Map) SetRights(uid string, rights *ttnpb.Rights) { |
| 41 | m.syncMap.Store(uid, rights) |
| 42 | } |
| 43 | |
| 44 | // GetRights returns the rights stored in the map for a given UID, |
| 45 | // or nil if no value is present. |
no outgoing calls