RoleKey returns the key used to store a role document format: _sync:role:{m_$}:{rolename}
(name string)
| 301 | // |
| 302 | // format: _sync:role:{m_$}:{rolename} |
| 303 | func (m *MetadataKeys) RoleKey(name string) string { |
| 304 | return m.rolePrefix + m.serializeIfLonger(name) |
| 305 | } |
| 306 | |
| 307 | // RoleKeyPrefix returns the prefix used to store a role document |
| 308 | // |