mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-09 02:41:47 +00:00
refactor: ensure compile-time check for Uploader
implementations
This commit is contained in:
@@ -21,6 +21,8 @@ type TencentCloudSSLUploader struct {
|
||||
sdkClient *tcSsl.Client
|
||||
}
|
||||
|
||||
var _ uploader.Uploader = (*TencentCloudSSLUploader)(nil)
|
||||
|
||||
func New(config *TencentCloudSSLUploaderConfig) (*TencentCloudSSLUploader, error) {
|
||||
client, err := createSdkClient(
|
||||
config.SecretId,
|
||||
|
Reference in New Issue
Block a user