mirror of
				https://github.com/KevinMidboe/planetposen-mail.git
				synced 2025-10-29 17:50:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			268 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			268 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package handler
 | 
						|
 | 
						|
import "net/http"
 | 
						|
 | 
						|
// Healthz is used for our readiness and liveness probes.
 | 
						|
// 		GET /_healthz
 | 
						|
// 		Responds: 200
 | 
						|
func Healthz(w http.ResponseWriter, r *http.Request) {
 | 
						|
	w.WriteHeader(http.StatusOK)
 | 
						|
	w.Write([]byte(http.StatusText(http.StatusOK)))
 | 
						|
}
 |