Documentation ¶
Index ¶
- func CreateRelationInfos(ctx context.Context, relationInfos []*model.Relation) error
- func CreateUserInfos(ctx context.Context, userInfos []*model.User) error
- func DeleteRelationInfo(ctx context.Context, userId, followUserId int64) error
- func QueryFirstUserInfoByUsername(ctx context.Context, username, query string) (*model.User, error)
- func QueryFollowInfo(ctx context.Context, userId, followUserId int64, query string) error
- func QueryFollowInfos(ctx context.Context, uid int64, query string) ([]*model.Relation, error)
- func QueryFollowerInfos(ctx context.Context, uid int64, query string) ([]*model.Relation, error)
- func QueryLatestMessage(ctx context.Context, fromUid, toUid int64, query string) (*model.Message, error)
- func QueryUserInfoByID(ctx context.Context, id int64, query string) (*model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRelationInfos ¶
func DeleteRelationInfo ¶
func QueryFollowInfo ¶
func QueryFollowInfos ¶
func QueryFollowerInfos ¶
func QueryLatestMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.