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