Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAliyunFileClient ¶ added in v1.4.11
func GetHuaweiFileClient ¶ added in v1.4.11
func GetTencentFileClient ¶ added in v1.4.11
func GetTencentFileClient() *cos.Client
Types ¶
type AliyunFileClient ¶ added in v1.4.11
type AliyunFileClient struct {
// contains filtered or unexported fields
}
func NewAliyunFile ¶ added in v1.4.11
func NewAliyunFile(client *oss.Client, accessId, accessSecret, bucket, endpoint string) *AliyunFileClient
func (*AliyunFileClient) Check ¶ added in v1.4.11
func (m *AliyunFileClient) Check() bool
func (*AliyunFileClient) Close ¶ added in v1.4.11
func (m *AliyunFileClient) Close()
func (*AliyunFileClient) GetClient ¶ added in v1.4.11
func (m *AliyunFileClient) GetClient() interface{}
GetClient 暴露原生client
func (*AliyunFileClient) String ¶ added in v1.4.11
func (m *AliyunFileClient) String() string
type HuaweiFileClient ¶ added in v1.4.11
type HuaweiFileClient struct {
// contains filtered or unexported fields
}
func NewHuaweiFile ¶ added in v1.4.11
func NewHuaweiFile(client *obs.ObsClient, accessKey, secretKey, bucket, endpoint string) *HuaweiFileClient
func (*HuaweiFileClient) Check ¶ added in v1.4.11
func (rc *HuaweiFileClient) Check() bool
func (*HuaweiFileClient) Close ¶ added in v1.4.11
func (rc *HuaweiFileClient) Close()
func (*HuaweiFileClient) GetClient ¶ added in v1.4.11
func (rc *HuaweiFileClient) GetClient() interface{}
GetClient 暴露原生client
func (*HuaweiFileClient) String ¶ added in v1.4.11
func (rc *HuaweiFileClient) String() string
type TencentFileClient ¶ added in v1.4.11
type TencentFileClient struct {
// contains filtered or unexported fields
}
func NewTencentFile ¶ added in v1.4.11
func NewTencentFile(client *cos.Client, accessKey, secretKey, cosUrl, ciUrl string) *TencentFileClient
func (*TencentFileClient) Check ¶ added in v1.4.11
func (rc *TencentFileClient) Check() bool
func (*TencentFileClient) Close ¶ added in v1.4.11
func (rc *TencentFileClient) Close()
func (*TencentFileClient) GetClient ¶ added in v1.4.11
func (rc *TencentFileClient) GetClient() interface{}
GetClient 暴露原生client
func (*TencentFileClient) String ¶ added in v1.4.11
func (rc *TencentFileClient) String() string
Click to show internal directories.
Click to hide internal directories.