Feat: add healthz
This commit is contained in:
13
utils/getHealthz.go
Normal file
13
utils/getHealthz.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user