MCPcopy Create free account
hub / github.com/SherClockHolmes/webpush-go / testHTTPClient

Struct testHTTPClient

webpush_test.go:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type testHTTPClient struct{}
10
11func (*testHTTPClient) Do(*http.Request) (*http.Response, error) {
12 return &http.Response{StatusCode: 201}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected