18 lines
224 B
Go
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)
|
|
}
|