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

Interface Handler

handler.go:22–24  ·  view source on GitHub ↗

The Handler interface is used to process the Fetcher's requests. It is similar to the net/http.Handler interface.

Source from the content-addressed store, hash-verified

20// The Handler interface is used to process the Fetcher's requests. It is similar to the
21// net/http.Handler interface.
22type Handler interface {
23 Handle(*Context, *http.Response, error)
24}
25
26// A HandlerFunc is a function signature that implements the Handler interface. A function
27// with this signature can thus be used as a Handler.

Callers 5

HandleMethod · 0.95
HandleMethod · 0.65
visitMethod · 0.65
stopHandlerFunction · 0.65
logHandlerFunction · 0.65

Implementers 2

spyHandlerfetch_test.go
Muxhandler.go

Calls

no outgoing calls

Tested by

no test coverage detected