Compare commits

..

No commits in common. "991e82cfda2bd8aca6186ea3b18586daa781c23f" and "f20645d1d218dfd9580e28b6a41f066cee654a62" have entirely different histories.

2 changed files with 1 additions and 19 deletions

2
.gitignore vendored
View File

@ -2,9 +2,7 @@
log log
vendor vendor
cert
/config.yml /config.yml
config.bak.yml
acme-mana.exe acme-mana.exe
acme-mana.pid acme-mana.pid
acme-mana.sock acme-mana.sock

View File

@ -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))
}