Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainIndexModel ¶
定义Index页面的返回模型
type SendFileRequestModel ¶
type SendFileRequestModel struct { Token string `form:"token" binding:"Required"` File *multipart.FileHeader `form:"file" binding:"Required"` }
定义文件发送输入模型
type SendFileResponseModel ¶
定义文件发送输出模型
type SendImageRequestModel ¶
type SendImageRequestModel struct { Token string `form:"token" binding:"Required"` Image *multipart.FileHeader `form:"image" binding:"Required"` }
定义图片发送输入模型
type SendImageResponseModel ¶
定义图片发送输出模型
type SendTextRequestModel ¶
type SendTextRequestModel struct { Token string `form:"token" binding:"Required"` Content string `form:"content" binding:"Required"` }
发送文本输入模型
type SendTextResponseModel ¶
发送文本输出模型
type SendVideoRequestModel ¶
type SendVideoRequestModel struct { Token string `form:"token" binding:"Required"` Video *multipart.FileHeader `form:"video" binding:"Required"` }
发送视频输入模型
type SendVideoResponseModel ¶
发送视频输出模型
type SendVoiceRequestModel ¶
type SendVoiceRequestModel struct { Token string `form:"token" binding:"Required"` Voice *multipart.FileHeader `form:"voice" binding:"Required"` }
发送语音输入模型
type SendVoiceResponseModel ¶
发送语音输出模型
Click to show internal directories.
Click to hide internal directories.