Compare commits
	
		
			No commits in common. "991e82cfda2bd8aca6186ea3b18586daa781c23f" and "f20645d1d218dfd9580e28b6a41f066cee654a62" have entirely different histories.
		
	
	
		
			991e82cfda
			...
			f20645d1d2
		
	
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -2,9 +2,7 @@
 | 
			
		|||
 | 
			
		||||
log
 | 
			
		||||
vendor
 | 
			
		||||
cert
 | 
			
		||||
/config.yml
 | 
			
		||||
config.bak.yml
 | 
			
		||||
acme-mana.exe
 | 
			
		||||
acme-mana.pid
 | 
			
		||||
acme-mana.sock
 | 
			
		||||
acme-mana.sock
 | 
			
		||||
| 
						 | 
				
			
			@ -1,16 +0,0 @@
 | 
			
		|||
package test
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"acme-mana/src"
 | 
			
		||||
	"log"
 | 
			
		||||
	"path"
 | 
			
		||||
	"testing"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func TestA(t *testing.T) {
 | 
			
		||||
	domain := src.GetAppConfig().Domains[0]
 | 
			
		||||
	name := domain.Name
 | 
			
		||||
	dir := src.GetAppConfig().CertDir
 | 
			
		||||
	certDir := path.Join(dir, name)
 | 
			
		||||
	log.Println(src.ValidExist(certDir, domain))
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user