Add SSL certificate checker

Implement SSL certificate checking functionality
This commit is contained in:
Tola Leng
2025-06-20 19:42:24 +07:00
parent 1eabf66311
commit 5ceaa09710
12 changed files with 913 additions and 6 deletions
@@ -79,6 +79,10 @@ func (h *OperationHandler) HandleOperation(w http.ResponseWriter, r *http.Reques
}
result, err = httpOp.Execute(url, method)
case types.OperationSSL:
sslOp := operations.NewSSLOperation(timeout)
result, err = sslOp.Execute(req.Host)
default:
http.Error(w, "Invalid operation type", http.StatusBadRequest)
return