Documentation ¶
Index ¶
- type AWS
- func (m *AWS) UploadFile(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *AWS) UploadImage(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *AWS) UploadSound(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *AWS) UploadVideo(videoPath, snapshotPath string, onProgressFun func(int)) (string, string, string, string, error)
- type COS
- func (c *COS) UploadFile(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *COS) UploadImage(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *COS) UploadSound(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *COS) UploadVideo(videoPath, snapshotPath string, onProgressFun func(int)) (string, string, string, string, error)
- type Minio
- func (m *Minio) UploadFile(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *Minio) UploadImage(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *Minio) UploadSound(filePath string, onProgressFun func(int)) (string, string, error)
- func (m *Minio) UploadVideo(videoPath, snapshotPath string, onProgressFun func(int)) (string, string, string, string, error)
- type OSS
- func (c *OSS) UploadFile(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *OSS) UploadImage(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *OSS) UploadSound(filePath string, onProgressFun func(int)) (string, string, error)
- func (c *OSS) UploadVideo(videoPath, snapshotPath string, onProgressFun func(int)) (string, string, string, string, error)
- type OssProgressListener
- type Push
- type UploadProgress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) UploadFile ¶
func (*AWS) UploadImage ¶
func (*AWS) UploadSound ¶
type COS ¶
type COS struct {
// contains filtered or unexported fields
}
func (*COS) UploadFile ¶
func (*COS) UploadImage ¶
func (*COS) UploadSound ¶
type Minio ¶
type Minio struct {
// contains filtered or unexported fields
}
func (*Minio) UploadFile ¶
func (*Minio) UploadImage ¶
func (*Minio) UploadSound ¶
type OSS ¶
type OSS struct {
// contains filtered or unexported fields
}
OSS 阿里云对象存储
func (*OSS) UploadFile ¶
func (*OSS) UploadImage ¶
func (*OSS) UploadSound ¶
type OssProgressListener ¶
type OssProgressListener struct {
// contains filtered or unexported fields
}
OssProgressListener 定义进度条监听器。
func (*OssProgressListener) ProgressChanged ¶
func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)
ProgressChanged 定义进度变更事件处理函数。
type Push ¶
type Push struct {
// contains filtered or unexported fields
}
func (*Push) SetAppBadge ¶
func (c *Push) SetAppBadge(callback open_im_sdk_callback.Base, appUnreadCount int32, operationID string)
func (*Push) UpdateFcmToken ¶
func (c *Push) UpdateFcmToken(callback open_im_sdk_callback.Base, fcmToken, operationID string)
type UploadProgress ¶
type UploadProgress struct {
// contains filtered or unexported fields
}
func NewUploadProgress ¶
func NewUploadProgress(total int64, f func(int)) *UploadProgress
NewUploadProgress: Create a *UploadProgress object
Click to show internal directories.
Click to hide internal directories.