Initial bootrap of application
- Creates scaffold for router and server - Main program set up for environment, OS signal listener - Makefile generic commands
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package http
|
||||
|
||||
import "net/http"
|
||||
|
||||
func (s *server) handleHealth(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return
|
||||
}
|
||||
|
||||
func (s *server) handleReadiness(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user