http

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptGroupApply

func AcceptGroupApply(c *gin.Context)

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

func ChangeOwner(c *gin.Context)

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

func CreateGroup(c *gin.Context)

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

func CreateGroupApply(c *gin.Context)

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

func Default() *gin.Engine

Default returns an Engine instance with the Logger and Recovery middleware already attached.

func GetGroupApplyById

func GetGroupApplyById(c *gin.Context)

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

func GetGroupApplys(c *gin.Context)

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

func GetGroupInfo(c *gin.Context)

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

func GetGroupInfoByCondition(c *gin.Context)

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

func GetGroupInfoById(c *gin.Context)

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

func GetGroupList(c *gin.Context)

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

func GetGroupMemberInfo(c *gin.Context)

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

func GetGroupMemberInfoByUri(c *gin.Context)

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

func GetGroupMemberList(c *gin.Context)

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

func GetGroupMemberListByUri(c *gin.Context)

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

func GetGroupPubInfo(c *gin.Context)

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

func GetGroups(c *gin.Context)

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

func GetMuteList(c *gin.Context)

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

func GroupDisband(c *gin.Context)

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

func GroupExit(c *gin.Context)

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

func GroupRemove(c *gin.Context)

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 Init

func Init(s *service.Service) *http.Server

func InitService

func InitService(s *service.Service)

func InviteGroupMembers

func InviteGroupMembers(c *gin.Context)

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

func JoinGroup(c *gin.Context)

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

func RejectGroupApply(c *gin.Context)

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

func SetAdmin(c *gin.Context)

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

func SetMembersMuteTime(c *gin.Context)

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

func SetupEngine(e *gin.Engine) *gin.Engine

SetupEngine @title 群服务接口 @version 1.0 @host 127.0.0.1:18011

func UpdateGroupAvatar

func UpdateGroupAvatar(c *gin.Context)

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

func UpdateGroupFriendType(c *gin.Context)

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

func UpdateGroupJoinType(c *gin.Context)

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

func UpdateGroupMemberName(c *gin.Context)

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

func UpdateGroupMuteType(c *gin.Context)

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

func UpdateGroupName(c *gin.Context)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL