feat: add baishan cdn deployer

This commit is contained in:
Fu Diwei
2025-02-17 20:19:31 +08:00
parent c72dc0d2c4
commit b2eb5d2754
34 changed files with 866 additions and 285 deletions

View File

@@ -37,7 +37,7 @@ type Config struct {
}
type DNSProvider struct {
client *gnamesdk.GnameClient
client *gnamesdk.Client
config *Config
}
@@ -68,7 +68,7 @@ func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
return nil, errors.New("gname: the configuration of the DNS provider is nil")
}
client := gnamesdk.NewGnameClient(config.AppID, config.AppKey).
client := gnamesdk.NewClient(config.AppID, config.AppKey).
WithTimeout(config.HTTPTimeout)
return &DNSProvider{