Smail/server/services/setup/ssl/ssl_test.go
2023-11-23 17:27:47 +08:00

18 lines
224 B
Go

package ssl
import (
"fmt"
"testing"
)
func TestGenSSL(t *testing.T) {
err := GenSSL(false)
fmt.Println(err)
}
func TestGetSSLCrtInfo(t *testing.T) {
days, tm, err := CheckSSLCrtInfo()
fmt.Println(days, tm, err)
}