roundRobinAccessor implements TokenAccessor.
| 23 | |
| 24 | // roundRobinAccessor implements TokenAccessor. |
| 25 | type roundRobinAccessor struct { |
| 26 | accessTokens []string |
| 27 | accessState []int64 |
| 28 | counter uint64 |
| 29 | } |
| 30 | |
| 31 | // Next implements TokenAccessor.Next. |
| 32 | func (tokens *roundRobinAccessor) Next() (uint64, string) { |
nothing calls this directly
no outgoing calls
no test coverage detected