增加批量上传证书接口、使用域名查询证书接口

This commit is contained in:
刘祥超
2023-03-24 19:07:43 +08:00
parent 3e8873d828
commit d7c757a2a1
5 changed files with 192 additions and 11 deletions

View File

@@ -23,3 +23,15 @@ func TestIsLocalAddr(t *testing.T) {
a.IsFalse(dbutils.IsLocalAddr("192.168.2.200"))
a.IsFalse(dbutils.IsLocalAddr("192.168.2.200:3306"))
}
func TestMySQLVersion(t *testing.T) {
version, err := dbutils.MySQLVersion()
if err != nil {
t.Fatal(err)
}
t.Log("version:", version)
}
func TestMySQLVersionFrom8(t *testing.T) {
t.Log(dbutils.MySQLVersionFrom8())
}