TokenAccessor interface defines a `retrieve-once` data structure. Implementations of this interface must be thread-safe.
| 30 | // TokenAccessor interface defines a `retrieve-once` data structure. |
| 31 | // Implementations of this interface must be thread-safe. |
| 32 | type TokenAccessor interface { |
| 33 | Next() (uint64, string) |
| 34 | Release(uint64) |
| 35 | } |
| 36 | |
| 37 | var logDuplicateTokenWarning = func(firstName string, clashingName string) { |
| 38 | var stringBuilder strings.Builder |
no outgoing calls
no test coverage detected