Debug returns the channel to use to receive the debugging information. It is not intended to be used by package users.
()
| 254 | // Debug returns the channel to use to receive the debugging information. It is not intended |
| 255 | // to be used by package users. |
| 256 | func (f *Fetcher) Debug() <-chan *DebugInfo { |
| 257 | f.dbgmu.Lock() |
| 258 | defer f.dbgmu.Unlock() |
| 259 | f.debugging = true |
| 260 | return f.dbg |
| 261 | } |
| 262 | |
| 263 | // processQueue runs the queue in its own goroutine. |
| 264 | func (f *Fetcher) processQueue() { |