mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	The vendor/ folder was created with the help of @FiloSottile's gvt and vendorcheck. Any dependencies of Caddy plugins outside this repo are not vendored. We do not remove any unused, vendored packages because vendorcheck -u only checks using the current build configuration; i.e. packages that may be imported by files toggled by build tags of other systems. CI tests have been updated to ignore the vendor/ folder. When Go 1.9 is released, a few of the go commands should be revised to again use ./... as it will ignore the vendor folder by default.
		
			
				
	
	
		
			17 lines
		
	
	
		
			867 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			867 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package acme
 | 
						|
 | 
						|
// Challenge is a string that identifies a particular type and version of ACME challenge.
 | 
						|
type Challenge string
 | 
						|
 | 
						|
const (
 | 
						|
	// HTTP01 is the "http-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#http
 | 
						|
	// Note: HTTP01ChallengePath returns the URL path to fulfill this challenge
 | 
						|
	HTTP01 = Challenge("http-01")
 | 
						|
	// TLSSNI01 is the "tls-sni-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#tls-with-server-name-indication-tls-sni
 | 
						|
	// Note: TLSSNI01ChallengeCert returns a certificate to fulfill this challenge
 | 
						|
	TLSSNI01 = Challenge("tls-sni-01")
 | 
						|
	// DNS01 is the "dns-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#dns
 | 
						|
	// Note: DNS01Record returns a DNS record which will fulfill this challenge
 | 
						|
	DNS01 = Challenge("dns-01")
 | 
						|
)
 |