fiz: correções da pool
This commit is contained in:
@ -2,9 +2,10 @@ package api
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
func (h *Handler) Health(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte("ok"))
|
||||
}
|
||||
w.Write([]byte(time.Now().Format(time.RFC3339)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user