14 lines
259 B
Go
14 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)
|
||
|
})
|
||
|
}
|