MCPcopy
hub / github.com/openimsdk/open-im-server / User

Struct User

pkg/common/storage/model/user.go:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type User struct {
22 UserID string `bson:"user_id"`
23 Nickname string `bson:"nickname"`
24 FaceURL string `bson:"face_url"`
25 Ex string `bson:"ex"`
26 AppMangerLevel int32 `bson:"app_manger_level"`
27 GlobalRecvMsgOpt int32 `bson:"global_recv_msg_opt"`
28 CreateTime time.Time `bson:"create_time"`
29}
30
31func (u *User) GetNickname() string {
32 return u.Nickname

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected