Documentation ¶
Index ¶
- Variables
- func AliOSSCredential(c *gin.Context)
- func AwsStorageCredential(c *gin.Context)
- func FcmUpdateToken(c *gin.Context)
- func GetDownloadURL(c *gin.Context)
- func GetRTCInvitationInfo(c *gin.Context)
- func GetRTCInvitationInfoStartApp(c *gin.Context)
- func MinioInit()
- func MinioStorageCredential(c *gin.Context)
- func MinioUploadFile(c *gin.Context)
- func SetAppBadge(c *gin.Context)
- func TencentCloudStorageCredential(c *gin.Context)
- func UploadUpdateApp(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MinioClient *minio.Client
)
Functions ¶
func AliOSSCredential ¶
func AwsStorageCredential ¶
func FcmUpdateToken ¶
func GetDownloadURL ¶
func GetRTCInvitationInfo ¶
func MinioStorageCredential ¶
func MinioUploadFile ¶
@Summary minio上传文件(web api) @Description minio上传文件(web api), 请注意本api请求为form并非json @Tags 第三方服务相关 @ID MinioUploadFile @Accept json @Param token header string true "im token" @Param file formData file true "要上传的文件文件" @Param fileType formData int true "文件类型" @Param operationID formData string true "操作唯一ID" @Produce json @Success 0 {object} api.MinioUploadFileResp "" @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /third/minio_upload [post]
func SetAppBadge ¶
func UploadUpdateApp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.