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

Method UserCreate

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

User management UserCreate creates user record

(user *t.User)

Source from the content-addressed store, hash-verified

41
42 // UserCreate creates user record
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

Callers 5

CreateMethod · 0.65
TestUserCreateFunction · 0.65
TestUserCreateFunction · 0.65
TestUserCreateFunction · 0.65
TestUserCreateFunction · 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

TestUserCreateFunction · 0.52
TestUserCreateFunction · 0.52
TestUserCreateFunction · 0.52
TestUserCreateFunction · 0.52