Documentation ¶
Index ¶
- func CallbackAfterCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)
- func CallbackAfterJoinGroup(ctx context.Context, req *group.JoinGroupReq) error
- func CallbackAfterSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error
- func CallbackAfterSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)
- func CallbackApplyJoinGroupBefore(ctx context.Context, req *callbackstruct.CallbackJoinGroupReq) (err error)
- func CallbackBeforeCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)
- func CallbackBeforeInviteUserToGroup(ctx context.Context, req *group.InviteUserToGroupReq) (err error)
- func CallbackBeforeMemberJoinGroup(ctx context.Context, groupMember *relation.GroupMemberModel, groupEx string) (err error)
- func CallbackBeforeSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error
- func CallbackBeforeSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)
- func CallbackDismissGroup(ctx context.Context, req *callbackstruct.CallbackDisMissGroupReq) (err error)
- func CallbackKillGroupMember(ctx context.Context, req *pbgroup.KickGroupMemberReq) (err error)
- func CallbackQuitGroup(ctx context.Context, req *group.QuitGroupReq) (err error)
- func CallbackTransferGroupOwnerAfter(ctx context.Context, req *pbgroup.TransferGroupOwnerReq) (err error)
- func Start(client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error
- func UpdateGroupInfoMap(ctx context.Context, group *sdkws.GroupInfoForSet) map[string]any
- func UpdateGroupMemberMap(req *pbgroup.SetGroupMemberInfo) map[string]any
- func UpdateGroupMemberMutedTimeMap(t time.Time) map[string]any
- func UpdateGroupStatusMap(status int) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallbackAfterCreateGroup ¶ added in v3.4.2
func CallbackAfterCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)
func CallbackAfterJoinGroup ¶ added in v3.4.2
func CallbackAfterJoinGroup(ctx context.Context, req *group.JoinGroupReq) error
func CallbackAfterSetGroupInfo ¶ added in v3.4.2
func CallbackAfterSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error
func CallbackAfterSetGroupMemberInfo ¶ added in v3.4.2
func CallbackAfterSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)
func CallbackApplyJoinGroupBefore ¶ added in v3.4.2
func CallbackApplyJoinGroupBefore(ctx context.Context, req *callbackstruct.CallbackJoinGroupReq) (err error)
func CallbackBeforeCreateGroup ¶
func CallbackBeforeCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)
func CallbackBeforeInviteUserToGroup ¶ added in v3.4.2
func CallbackBeforeInviteUserToGroup(ctx context.Context, req *group.InviteUserToGroupReq) (err error)
func CallbackBeforeSetGroupInfo ¶ added in v3.4.2
func CallbackBeforeSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error
func CallbackBeforeSetGroupMemberInfo ¶
func CallbackBeforeSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)
func CallbackDismissGroup ¶ added in v3.4.2
func CallbackDismissGroup(ctx context.Context, req *callbackstruct.CallbackDisMissGroupReq) (err error)
func CallbackKillGroupMember ¶ added in v3.4.2
func CallbackKillGroupMember(ctx context.Context, req *pbgroup.KickGroupMemberReq) (err error)
func CallbackQuitGroup ¶ added in v3.4.2
func CallbackQuitGroup(ctx context.Context, req *group.QuitGroupReq) (err error)
func CallbackTransferGroupOwnerAfter ¶ added in v3.4.2
func CallbackTransferGroupOwnerAfter(ctx context.Context, req *pbgroup.TransferGroupOwnerReq) (err error)
func Start ¶
func Start(client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error
func UpdateGroupInfoMap ¶
func UpdateGroupMemberMap ¶
func UpdateGroupMemberMap(req *pbgroup.SetGroupMemberInfo) map[string]any
func UpdateGroupStatusMap ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.