MCPcopy Create free account
hub / github.com/chanify/chanify / GetUser

Method GetUser

model/model.go:15–15  ·  view source on GitHub ↗
(uid string)

Source from the content-addressed store, hash-verified

13 GetOption(key string, value interface{}) error
14 SetOption(key string, value interface{}) error
15 GetUser(uid string) (*User, error)
16 UpsertUser(u *User) error
17 BindDevice(uid string, uuid string, key []byte, devType int) error
18 UnbindDevice(uid string, uuid string) error

Callers 8

sendMsgMethod · 0.65
handleUpdatePushTokenMethod · 0.65
handleUnbindUserMethod · 0.65
TestSqliteUserFunction · 0.65
TestNoSQLFunction · 0.65
GetUserMethod · 0.65
GetUserKeyMethod · 0.65
UpsertUserMethod · 0.65

Implementers 3

sqlitemodel/sqlite.go
mysqlmodel/mysql.go
nosqlmodel/nosql.go

Calls

no outgoing calls

Tested by 2

TestSqliteUserFunction · 0.52
TestNoSQLFunction · 0.52