MCPcopy Create free account
hub / github.com/daodst/chat / GetTopics

Method GetTopics

server/store/store.go:227–229  ·  view source on GitHub ↗

GetTopics is exacly the same as Topics.GetForUser

(appid uint32, id types.Uid, opts *types.BrowseOpt)

Source from the content-addressed store, hash-verified

225
226// GetTopics is exacly the same as Topics.GetForUser
227func (u UsersObjMapper) GetTopics(appid uint32, id types.Uid, opts *types.BrowseOpt) ([]types.Subscription, error) {
228 return adaptr.TopicsForUser(appid, id, opts)
229}
230
231// Topics struct to hold methods for persistence mapping for the topic object.
232type TopicsObjMapper struct{}

Callers 1

replyGetSubMethod · 0.80

Calls 1

TopicsForUserMethod · 0.65

Tested by

no test coverage detected