mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			361 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			361 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package acme
 | 
						|
 | 
						|
import "github.com/TeaOSLab/EdgeAPI/internal/dnsclients"
 | 
						|
 | 
						|
type AuthType = string
 | 
						|
 | 
						|
const (
 | 
						|
	AuthTypeDNS  AuthType = "dns"
 | 
						|
	AuthTypeHTTP AuthType = "http"
 | 
						|
)
 | 
						|
 | 
						|
type Task struct {
 | 
						|
	Provider *Provider
 | 
						|
	Account  *Account
 | 
						|
	User     *User
 | 
						|
	AuthType AuthType
 | 
						|
	Domains  []string
 | 
						|
 | 
						|
	// DNS相关
 | 
						|
	DNSProvider dnsclients.ProviderInterface
 | 
						|
	DNSDomain   string
 | 
						|
}
 |