Actual implementation of User interface
| 26 | |
| 27 | // Actual implementation of User interface |
| 28 | type userImpl struct { |
| 29 | roleImpl // userImpl "inherits from" Role |
| 30 | userImplBody |
| 31 | auth *Authenticator |
| 32 | roles []Role |
| 33 | deletedRoles []Role // Roles that are granted to the user, but have been deleted |
| 34 | |
| 35 | // warnChanThresholdOnce ensures that the check for channels |
| 36 | // per user threshold is only performed exactly once. |
| 37 | warnChanThresholdOnce sync.Once |
| 38 | } |
| 39 | |
| 40 | // Marshallable data is stored in separate struct from userImpl, |
| 41 | // to work around limitations of JSON marshaling. |
nothing calls this directly
no outgoing calls
no test coverage detected