MCPcopy
hub / github.com/tinode/chat / Get

Method Get

server/store/store.go:615–615  ·  view source on GitHub ↗
(topic string, user types.Uid, keepDeleted bool)

Source from the content-addressed store, hash-verified

613type SubsPersistenceInterface interface {
614 Create(subs ...*types.Subscription) error
615 Get(topic string, user types.Uid, keepDeleted bool) (*types.Subscription, error)
616 Update(topic string, user types.Uid, update map[string]any) error
617 Delete(topic string, user types.Uid) error
618}

Callers 15

getAPIKeyFunction · 0.65
getHttpAuthFunction · 0.65
getRemoteAddrFunction · 0.65
initTopicMeFunction · 0.65
initTopicFndFunction · 0.65
initTopicP2PFunction · 0.65
initTopicGrpFunction · 0.65
initTopicSysFunction · 0.65
initTopicSlfFunction · 0.65
serveWebSocketFunction · 0.65
proxyMasterResponseMethod · 0.65
serveLongPollFunction · 0.65

Implementers 9

usersMapperserver/store/store.go
topicsMapperserver/store/store.go
subsMapperserver/store/store.go
MockUsersPersistenceInterfaceserver/store/mock_store/mock_store.go
MockUsersPersistenceInterfaceMockRecorderserver/store/mock_store/mock_store.go
MockTopicsPersistenceInterfaceserver/store/mock_store/mock_store.go
MockTopicsPersistenceInterfaceMockRecorderserver/store/mock_store/mock_store.go
MockSubsPersistenceInterfaceserver/store/mock_store/mock_store.go
MockSubsPersistenceInterfaceMockRecorderserver/store/mock_store/mock_store.go

Calls

no outgoing calls

Tested by 15

TestHashingFunction · 0.52
TestConsistencyFunction · 0.52
benchmarkGetFunction · 0.52
TestTopicCreateP2PFunction · 0.52
TestUserUpdateFunction · 0.52
TestCredConfirmFunction · 0.52
TestAuthUpdRecordFunction · 0.52
TestTopicUpdateOnMessageFunction · 0.52
TestTopicUpdateFunction · 0.52