Documentation ¶
Index ¶
- type AcceptApplication
- type CreateAccount
- type CreateApplication
- type CreateFileMsg
- type CreateGroup
- type CreateNotify
- type DeleteAccount
- type DeleteApplication
- type DeleteFile
- type DeleteFriend
- type DeleteNotify
- type DissolveGroup
- type ExistEmail
- type FeedMsgsByAccountIDAndTime
- type GetAccountByID
- type GetAccountToken
- type GetAccountsByName
- type GetFile
- type GetFriendsByName
- type GetGroupByName
- type GetGroupMembers
- type GetMsgsByContent
- type GetMsgsByRelationIDAndTime
- type GetNotifyByID
- type GetPinMsgsByRelationID
- type GetRelationFile
- type GetRlyMsgsInfoByMsgID
- type GetTopMsgByRelationID
- type InviteAccount
- type ListApplications
- type Login
- type PublishFile
- type QuitGroup
- type RefuseApplication
- type Register
- type RevokeMsg
- type SendEmail
- type TransferGroup
- type UpdateAccount
- type UpdateGroup
- type UpdateMsgPin
- type UpdateMsgRevoke
- type UpdateMsgTop
- type UpdateNickName
- type UpdateNotify
- type UpdateSettingDisturb
- type UpdateSettingPin
- type UpdateSettingShow
- type UpdateUserEmail
- type UpdateUserPassword
- type UploadAvatar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptApplication ¶
type AcceptApplication struct {
AccountID int64 `json:"account_id" binding:"required,gte=1"` // 目标账号ID
}
type CreateAccount ¶
type CreateApplication ¶
type CreateFileMsg ¶
type CreateFileMsg struct { RelationID int64 `form:"relation_id" binding:"required,gte=1"` // 关系ID File *multipart.FileHeader `form:"file" binding:"required"` // 文件 RlyMsgID int64 `form:"rly_msg_id"` // 回复消息ID }
type CreateGroup ¶
type CreateNotify ¶
type DeleteAccount ¶
type DeleteAccount struct {
AccountID int64 `json:"account_id" binding:"required,gte=1"` // 账号ID
}
type DeleteApplication ¶
type DeleteApplication struct {
AccountID int64 `json:"account_id" binding:"required,gte=1"` // 目标账号ID
}
type DeleteFile ¶
type DeleteFile struct {
FileID int64 `json:"file_id" form:"file_id" binding:"required"`
}
type DeleteFriend ¶
type DeleteFriend struct {
RelationID int64 `json:"relation_id" binding:"required,gte=1"` // 关系ID
}
type DeleteNotify ¶
type DissolveGroup ¶
type DissolveGroup struct {
RelationID int64 `json:"relation_id" form:"relation_id" binding:"required"`
}
type ExistEmail ¶
type ExistEmail struct {
Email string `form:"email" binding:"required,email,lte=50" maximum:"50"` // 邮箱
}
type GetAccountByID ¶
type GetAccountByID struct {
AccountID int64 `json:"account_id" form:"account_id" binding:"required,gte=1"` // 账号ID
}
type GetAccountToken ¶
type GetAccountToken struct {
AccountID int64 `json:"account_id" form:"account_id" binding:"required,gte=1"` // 账号ID
}
type GetAccountsByName ¶
type GetFile ¶
type GetFile struct {
FileID int64 `json:"file_id" form:"file_id" binding:"required"`
}
type GetFriendsByName ¶
type GetGroupByName ¶
type GetGroupMembers ¶
type GetGroupMembers struct {
RelationID int64 `json:"relation_id" form:"relation_id" binding:"required"`
}
type GetMsgsByContent ¶
type GetNotifyByID ¶
type GetNotifyByID struct {
RelationID int64 `json:"relation_id" form:"relation_id" binding:"required"`
}
type GetPinMsgsByRelationID ¶
type GetRelationFile ¶
type GetRelationFile struct {
RelationID int64 `json:"relation_id" form:"relation_id" binding:"required"`
}
type GetRlyMsgsInfoByMsgID ¶
type GetTopMsgByRelationID ¶
type GetTopMsgByRelationID struct {
RelationID int64 `form:"relation_id" binding:"required,gte=1"` // 关系ID
}
type InviteAccount ¶
type ListApplications ¶
type PublishFile ¶
type PublishFile struct { File *multipart.FileHeader `form:"file" binding:"required" swaggerignore:"true"` RelationID int64 `form:"relation_id" binding:"required"` AccountID int64 `form:"account_id" binding:"required"` }
type RefuseApplication ¶
type SendEmail ¶
type SendEmail struct {
Email string `json:"email" binding:"required,email,lte=50" maximum:"50"` // 邮箱
}
type TransferGroup ¶
type UpdateAccount ¶
type UpdateGroup ¶
type UpdateMsgPin ¶
type UpdateMsgRevoke ¶
type UpdateMsgTop ¶
type UpdateNickName ¶
type UpdateNotify ¶
type UpdateSettingDisturb ¶
type UpdateSettingPin ¶
type UpdateSettingShow ¶
type UpdateUserEmail ¶
type UpdateUserPassword ¶
type UploadAvatar ¶
type UploadAvatar struct { File *multipart.FileHeader `form:"file" binding:"required" swaggerignore:"true"` RelationID int64 `form:"relation_id"` }
Click to show internal directories.
Click to hide internal directories.