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

Method GetSubs

server/store/store.go:268–268  ·  view source on GitHub ↗
(id types.Uid)

Source from the content-addressed store, hash-verified

266 UpdateTags(uid types.Uid, add, remove, reset []string) ([]string, error)
267 UpdateState(uid types.Uid, state types.ObjState) error
268 GetSubs(id types.Uid) ([]types.Subscription, error)
269 FindSubs(caller types.Uid, prefPrefix string, required [][]string, optional []string, activeOnly bool) ([]types.Subscription, error)
270 FindOne(tag string) (string, error)
271 GetTopics(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)

Callers 5

loadSubscribersMethod · 0.65
topicUnregMethod · 0.65
replyGetSubMethod · 0.65
replyDelUserFunction · 0.65
loadContactsMethod · 0.65

Implementers 3

usersMapperserver/store/store.go
MockUsersPersistenceInterfaceserver/store/mock_store/mock_store.go
MockUsersPersistenceInterfaceMockRecorderserver/store/mock_store/mock_store.go

Calls

no outgoing calls

Tested by

no test coverage detected