Initial commit
This commit is contained in:
12
routes/health.go
Normal file
12
routes/health.go
Normal file
@ -0,0 +1,12 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func (s *Server) HandleHealth(w http.ResponseWriter, r *http.Request) error {
|
||||
fmt.Fprint(w, "Up and running!")
|
||||
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user