MCPcopy Create free account
hub / github.com/PuerkitoBio/fetchbot / Debug

Method Debug

fetch.go:256–261  ·  view source on GitHub ↗

Debug returns the channel to use to receive the debugging information. It is not intended to be used by package users.

()

Source from the content-addressed store, hash-verified

254// Debug returns the channel to use to receive the debugging information. It is not intended
255// to be used by package users.
256func (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.
264func (f *Fetcher) processQueue() {

Callers 1

runMemStatsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected