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

Method SessionKey

base/constants_syncdocs.go:324–326  ·  view source on GitHub ↗

SessionKey returns the key used to store a session document format: _sync:session:{m_$}:{sessionID}

(sessionID string)

Source from the content-addressed store, hash-verified

322//
323// format: _sync:session:{m_$}:{sessionID}
324func (m *MetadataKeys) SessionKey(sessionID string) string {
325 return m.sessionPrefix + sessionID
326}
327
328// BackgroundProcessHeartbeatPrefix returns the prefix used to store background process heartbeats.
329//

Callers 1

DocIDForSessionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected