mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-26 00:36:12 +08:00 
			
		
		
		
	Refs https://github.com/1Panel-dev/1Panel/issues/2081 Refs https://github.com/1Panel-dev/1Panel/issues/615
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			538 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			538 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package model
 | |
| 
 | |
| type WebsiteAcmeAccount struct {
 | |
| 	BaseModel
 | |
| 	Email      string `gorm:"not null" json:"email"`
 | |
| 	URL        string `gorm:"not null" json:"url"`
 | |
| 	PrivateKey string `gorm:"not null" json:"-"`
 | |
| 	Type       string `gorm:"not null;default:letsencrypt" json:"type"`
 | |
| 	EabKid     string `gorm:"default:null;" json:"eabKid"`
 | |
| 	EabHmacKey string `gorm:"default:null" json:"eabHmacKey"`
 | |
| 	KeyType    string `gorm:"not null;default:2048" json:"keyType"`
 | |
| }
 | |
| 
 | |
| func (w WebsiteAcmeAccount) TableName() string {
 | |
| 	return "website_acme_accounts"
 | |
| }
 |