(ctx context.Context)
| 80 | } |
| 81 | |
| 82 | func (c *cachedRes) wait(ctx context.Context) error { |
| 83 | select { |
| 84 | case <-ctx.Done(): |
| 85 | return ctx.Err() |
| 86 | case <-c.waitChan: |
| 87 | return nil |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | type cachedAuthInfoRes struct { |
| 92 | *cachedRes |
no test coverage detected