FirstUser returns UserIndex that starts iteration over user queues from the very first user.
()
| 35 | |
| 36 | // FirstUser returns UserIndex that starts iteration over user queues from the very first user. |
| 37 | func FirstUser() UserIndex { |
| 38 | return UserIndex{last: -1} |
| 39 | } |
| 40 | |
| 41 | // Request stored into the queue. |
| 42 | type Request interface { |