MCPcopy Index your code
hub / github.com/tinode/chat / UserGet

Method UserGet

server/db/adapter.go:45–45  ·  view source on GitHub ↗

UserGet returns record for a given user ID

(uid t.Uid)

Source from the content-addressed store, hash-verified

43 UserCreate(user *t.User) error
44 // UserGet returns record for a given user ID
45 UserGet(uid t.Uid) (*t.User, error)
46 // UserGetAll returns user records for a given list of user IDs
47 UserGetAll(ids ...t.Uid) ([]t.User, error)
48 // UserDelete deletes user record

Callers 5

GetMethod · 0.65
TestUserGetFunction · 0.65
TestUserGetFunction · 0.65
TestUserGetFunction · 0.65
TestUserGetFunction · 0.65

Implementers 4

adapterserver/db/mongodb/adapter.go
adapterserver/db/postgres/adapter.go
adapterserver/db/rethinkdb/adapter.go
adapterserver/db/mysql/adapter.go

Calls

no outgoing calls

Tested by 4

TestUserGetFunction · 0.52
TestUserGetFunction · 0.52
TestUserGetFunction · 0.52
TestUserGetFunction · 0.52