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

Method SanitizedUrl

db/event_handler.go:171–174  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

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
173 return base.RedactBasicAuthURLUserAndPassword(ctx, wh.url)
174}

Callers 3

TestSanitizedUrlFunction · 0.95
HandleEventMethod · 0.95
StringMethod · 0.95

Calls 1

Tested by 1

TestSanitizedUrlFunction · 0.76