Feat: add healthz
Go test / run-go-vet (push) Successful in 5s
Go test / run-go-test (push) Successful in 31s
Go test / cleanup-go-test (push) Successful in 4s

This commit is contained in:
ytshih committed 2025-12-09 00:55:08 +08:00
1 parent 62c4d38e9c
commit ad4fba1093
5 files changed
+51 -11

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
package utils
import (
"net/http"
"github.com/uptrace/bunrouter"
)
func GetHealthz(
w http.ResponseWriter, req bunrouter.Request,
) error {
return Success(w)
}