MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / String

Method String

db/event_handler.go:167–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165}
166
167func (wh *Webhook) String() string {
168 return fmt.Sprintf("Webhook handler [%s]", wh.SanitizedUrl(context.TODO())) // not possible to provide a better context and satisfy fmt.Stringer
169}
170
171func (wh *Webhook) SanitizedUrl(ctx context.Context) string {
172 // Basic auth credentials may have been included in the URL, in which case obscure them

Callers 1

TestWebhookStringFunction · 0.95

Calls 1

SanitizedUrlMethod · 0.95

Tested by 1

TestWebhookStringFunction · 0.76