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

Method AddPayload

db/event_manager_test.go:349–353  ·  view source on GitHub ↗
(payload []byte)

Source from the content-addressed store, hash-verified

347}
348
349func (wr *WebhookRequest) AddPayload(payload []byte) {
350 wr.mutex.Lock()
351 wr.payloads = append(wr.payloads, payload)
352 wr.mutex.Unlock()
353}
354
355func (wr *WebhookRequest) Clear() {
356 wr.mutex.Lock()

Callers 1

GetRouterWithHandlerFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected