Documentation
¶
Index ¶
- func AcceptGroupApply(c *gin.Context)
- func ChangeOwner(c *gin.Context)
- func CreateGroup(c *gin.Context)
- func CreateGroupApply(c *gin.Context)
- func Default() *gin.Engine
- func GetGroupApplyById(c *gin.Context)
- func GetGroupApplys(c *gin.Context)
- func GetGroupInfo(c *gin.Context)
- func GetGroupInfoByCondition(c *gin.Context)
- func GetGroupInfoById(c *gin.Context)
- func GetGroupList(c *gin.Context)
- func GetGroupMemberInfo(c *gin.Context)
- func GetGroupMemberInfoByUri(c *gin.Context)
- func GetGroupMemberList(c *gin.Context)
- func GetGroupMemberListByUri(c *gin.Context)
- func GetGroupPubInfo(c *gin.Context)
- func GetGroups(c *gin.Context)
- func GetMuteList(c *gin.Context)
- func GroupDisband(c *gin.Context)
- func GroupExit(c *gin.Context)
- func GroupRemove(c *gin.Context)
- func Init(s *service.Service) *http.Server
- func InitService(s *service.Service)
- func InviteGroupMembers(c *gin.Context)
- func JoinGroup(c *gin.Context)
- func RejectGroupApply(c *gin.Context)
- func SetAdmin(c *gin.Context)
- func SetMembersMuteTime(c *gin.Context)
- func SetupEngine(e *gin.Engine) *gin.Engine
- func UpdateGroupAvatar(c *gin.Context)
- func UpdateGroupFriendType(c *gin.Context)
- func UpdateGroupJoinType(c *gin.Context)
- func UpdateGroupMemberName(c *gin.Context)
- func UpdateGroupMuteType(c *gin.Context)
- func UpdateGroupName(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptGroupApply ¶
AcceptGroupApply @Summary 接受加群审批 @Author chy@33.cn @Tags group 群审批 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.AcceptGroupApplyReq false "body" @Success 200 {object} types.GeneralResponse{data=types.AcceptGroupApplyResp} @Router /app/accept-group-apply [post]
func ChangeOwner ¶
ChangeOwner @Summary 转让群 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.ChangeOwnerRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.ChangeOwnerResponse} @Router /app/change-owner [post]
func CreateGroup ¶
CreateGroup @Summary 创建群 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.CreateGroupRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.CreateGroupResponse} @Router /app/create-group [post]
func CreateGroupApply ¶
CreateGroupApply @Summary 创建加群审批 @Author chy@33.cn @Tags group 群审批 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.CreateGroupApplyReq false "body" @Success 200 {object} types.GeneralResponse{data=types.CreateGroupApplyResp} @Router /app/create-group-apply [post]
func Default ¶
Default returns an Engine instance with the Logger and Recovery middleware already attached.
func GetGroupApplyById ¶
GetGroupApplyById @Summary 查询加群审批 @Author chy@33.cn @Tags group 群审批 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupApplyByIdReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupApplysResp} @Router /app/get-group-apply [post]
func GetGroupApplys ¶
GetGroupApplys @Summary 查询加群审批列表 @Author chy@33.cn @Tags group 群审批 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupApplysReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupApplysResp} @Router /app/get-group-applys [post]
func GetGroupInfo ¶
GetGroupInfo @Summary 查询群信息 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupInfoRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupInfoResponse} @Router /app/group-info [post]
func GetGroupInfoByCondition ¶
GetGroupInfoByCondition @Summary 搜索群列表 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupInfoByConditionReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupInfoByConditionResp} @Router /app/group-search [post]
func GetGroupInfoById ¶
GetGroupInfoById @Summary 查询群信息 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param id path integer true "群id" @Success 200 {object} types.GeneralResponse{data=types.GetGroupInfoResponse} @Router /app/group/{id} [get]
func GetGroupList ¶
GetGroupList @Summary 查询群列表 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupListRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupListResponse} @Router /app/group-list [post]
func GetGroupMemberInfo ¶
GetGroupMemberInfo @Summary 查询群成员信息 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupMemberInfoRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupMemberInfoResponse} @Router /app/group-member-info [post]
func GetGroupMemberInfoByUri ¶
GetGroupMemberInfoByUri @Summary 查询群成员信息 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param id path integer true "群id" @Param memberId path integer true "群成员id" @Success 200 {object} types.GeneralResponse{data=types.GetGroupMemberInfoResponse} @Router /app/group/{id}/member/{memberId} [get]
func GetGroupMemberList ¶
GetGroupMemberList @Summary 查询群成员列表 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupMemberListRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupMemberListResponse} @Router /app/group-member-list [post]
func GetGroupMemberListByUri ¶
GetGroupMemberListByUri @Summary 查询群成员列表 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param id path integer true "群id" @Success 200 {object} types.GeneralResponse{data=types.GetGroupMemberListResponse} @Router /app/group/{id}/members [get]
func GetGroupPubInfo ¶
GetGroupPubInfo @Summary 查询群公开信息 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetGroupPubInfoRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetGroupPubInfoResponse} @Router /app/group-pub-info [post]
func GetGroups ¶
GetGroups @Summary 查询群列表 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Success 200 {object} types.GeneralResponse{data=types.GetGroupListResponse} @Router /app/groups [get]
func GetMuteList ¶
GetMuteList @Summary 查询群内被禁言成员名单 @Author chy@33.cn @Tags group 禁言 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetMuteListRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GetMuteListResponse} @Router /app/mute-list [post]
func GroupDisband ¶
GroupDisband @Summary 解散群 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GroupDisbandRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GroupDisbandResponse} @Router /app/group-disband [post]
func GroupExit ¶
GroupExit @Summary 退群 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GroupExitRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GroupExitResponse} @Router /app/group-exit [post]
func GroupRemove ¶
GroupRemove @Summary 踢人 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GroupRemoveRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.GroupRemoveResponse} @Router /app/group-remove [post]
func InitService ¶
func InviteGroupMembers ¶
InviteGroupMembers @Summary 邀请新群员 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.InviteGroupMembersRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.InviteGroupMembersResponse} @Router /app/invite-group-members [post]
func JoinGroup ¶
JoinGroup @Summary 直接进群 @Author chy@33.cn @Tags group 群动作 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.JoinGroupReq false "body" @Success 200 {object} types.GeneralResponse{data=types.JoinGroupResp} @Router /app/join-group [post]
func RejectGroupApply ¶
RejectGroupApply @Summary 拒绝加群审批 @Author chy@33.cn @Tags group 群审批 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.RejectGroupApplyReq false "body" @Success 200 {object} types.GeneralResponse{data=types.RejectGroupApplyResp} @Router /app/reject-group-apply [post]
func SetAdmin ¶
SetAdmin @Summary 设置管理员 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.SetAdminRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.SetAdminResponse} @Router /app/member/type [post]
func SetMembersMuteTime ¶
SetMembersMuteTime @Summary 更新群成员禁言时间 @Author chy@33.cn @Tags group 禁言 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupMemberMuteTimeRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupMemberMuteTimeResponse} @Router /app/member/muteTime [post]
func SetupEngine ¶
SetupEngine @title 群服务接口 @version 1.0 @host 127.0.0.1:18011
func UpdateGroupAvatar ¶
UpdateGroupAvatar @Summary 更新群头像 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupAvatarRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupAvatarResponse} @Router /app/avatar [post]
func UpdateGroupFriendType ¶
UpdateGroupFriendType @Summary 更新群内加好友设置 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupFriendTypeRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupFriendTypeResponse} @Router /app/friendType [post]
func UpdateGroupJoinType ¶
UpdateGroupJoinType @Summary 更新加群设置 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupJoinTypeRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupJoinTypeResponse} @Router /app/joinType [post]
func UpdateGroupMemberName ¶
UpdateGroupMemberName @Summary 更新群成员昵称 @Author chy@33.cn @Tags group 群成员信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupMemberNameRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupMemberNameResponse} @Router /app/member/name [post]
func UpdateGroupMuteType ¶
UpdateGroupMuteType @Summary 更新群禁言设置 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupMuteTypeRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupMuteTypeResponse} @Router /app/muteType [post]
func UpdateGroupName ¶
UpdateGroupName @Summary 更新群名称 @Author chy@33.cn @Tags group 群信息 @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.UpdateGroupNameRequest false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateGroupNameResponse} @Router /app/name [post]
Types ¶
This section is empty.