MCPcopy Create free account
hub / github.com/cloud-native-go/examples / WritePut

Method WritePut

ch05/ch05_08/pglogger.go:42–45  ·  view source on GitHub ↗
(key, value string)

Source from the content-addressed store, hash-verified

40}
41
42func (l *PostgresTransactionLogger) WritePut(key, value string) {
43 l.wg.Add(1)
44 l.events <- Event{EventType: EventPut, Key: key, Value: url.QueryEscape(value)}
45}
46
47func (l *PostgresTransactionLogger) WriteDelete(key string) {
48 l.wg.Add(1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected