重构项目
This commit is contained in:
		
							
								
								
									
										32
									
								
								internal/class/DNSProvider/Object.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								internal/class/DNSProvider/Object.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | ||||
| package DNSProvider | ||||
|  | ||||
| type TencentCloud struct { | ||||
| 	SecretID  string `json:"SecretId,omitempty"` | ||||
| 	SecretKey string `json:"SecretKey,omitempty"` | ||||
| } | ||||
|  | ||||
| type AliCloud struct { | ||||
| 	AccessKeyId     string `json:"AccessKeyId,omitempty"` | ||||
| 	AccessKeySecret string `json:"AccessKeySecret,omitempty"` | ||||
| 	RAMRole         string `json:"RAMRole,omitempty"` | ||||
| 	STSToken        string `json:"STSToken,omitempty"` | ||||
| } | ||||
|  | ||||
| type HuaweiCloud struct { | ||||
| 	AccessKeyId     string `json:"AccessKeyId,omitempty"` | ||||
| 	Region          string `json:"Region,omitempty"` | ||||
| 	SecretAccessKey string `json:"SecretAccessKey,omitempty"` | ||||
| } | ||||
|  | ||||
| type WestCN struct { | ||||
| 	Username string `json:"Username,omitempty"` | ||||
| 	Password string `json:"Password,omitempty"` | ||||
| } | ||||
|  | ||||
| type RainYun struct { | ||||
| 	ApiKey string `json:"ApiKey,omitempty"` | ||||
| } | ||||
|  | ||||
| type Dode struct { | ||||
| 	Token string `json:"Token,omitempty"` | ||||
| } | ||||
		Reference in New Issue
	
	Block a user