mirror of
https://github.com/Maronato/go-finger.git
synced 2025-03-15 08:44:46 +00:00
13 lines
259 B
Go
13 lines
259 B
Go
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"git.maronato.dev/maronato/finger/internal/config"
|
|
)
|
|
|
|
func HealthCheckHandler(_ *config.Config) http.Handler {
|
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
|
w.WriteHeader(http.StatusOK)
|
|
})
|
|
}
|