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

Method TopicsForUser

server/store/adapter/adapter.go:37–37  ·  view source on GitHub ↗
(appid uint32, uid t.Uid, opts *t.BrowseOpt)

Source from the content-addressed store, hash-verified

35 // TopicGet loads a single topic by name, if it exists. If the topic does not exist the call returns (nil, nil)
36 TopicGet(appid uint32, topic string) (*t.Topic, error)
37 TopicsForUser(appid uint32, uid t.Uid, opts *t.BrowseOpt) ([]t.Subscription, error)
38 UsersForTopic(appid uint32, topic string, opts *t.BrowseOpt) ([]t.Subscription, error)
39 //UsersForP2P(appid uint32, uid1, uid2 t.Uid) ([]t.Subscription, error)
40 TopicShare(appid uint32, acl []t.Subscription) (int, error)

Callers 1

GetTopicsMethod · 0.65

Implementers 1

RethinkDbAdapterserver/db/rethinkdb/adapter.go

Calls

no outgoing calls

Tested by

no test coverage detected