Documentation ¶
Index ¶
Constants ¶
View Source
const (
CacheFriendPrefix = "light.friend"
)
View Source
const (
CollectionFriend = "friend"
)
Variables ¶
This section is empty.
Functions ¶
func CreateFriend ¶
func DeleteFriend ¶
Types ¶
type Friend ¶
type Friend struct { Id primitive.ObjectID `bson:"_id,omitempty" json:"id"` AppId string `bson:"appId" json:"app_id"` UserId string `bson:"userId" json:"user_id"` FriendId string `bson:"friendId" json:"friend_id"` UTime time.Time `bson:"utime" json:"utime"` CTime time.Time `bson:"ctime" json:"ctime"` }
func GetFriendByUFId ¶
Click to show internal directories.
Click to hide internal directories.