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

Interface HTTPClient

webpush.go:39–41  ·  view source on GitHub ↗

HTTPClient is an interface for sending the notification HTTP request / testing

Source from the content-addressed store, hash-verified

37
38// HTTPClient is an interface for sending the notification HTTP request / testing
39type HTTPClient interface {
40 Do(*http.Request) (*http.Response, error)
41}
42
43// Options are config and extra params needed to send a notification
44type Options struct {

Callers 1

Implementers 1

testHTTPClientwebpush_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…