MCPcopy Index your code
hub / github.com/cli/cli / Registry

Struct Registry

pkg/httpmock/registry.go:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type Registry struct {
19 mu sync.Mutex
20 stubs []*Stub
21 Requests []*http.Request
22}
23
24func (r *Registry) Register(m Matcher, resp Responder) {
25 r.stubs = append(r.stubs, &Stub{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected