This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-03-25 16:09:17 +01:00
|
|
|
package http
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
2017-03-30 15:36:04 +02:00
|
|
|
lib "github.com/genofire/hs_master-kss-monolith/lib/http"
|
|
|
|
logger "github.com/genofire/hs_master-kss-monolith/lib/log"
|
2017-03-25 16:09:17 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func statusHandler(w http.ResponseWriter, r *http.Request) {
|
2017-03-30 15:36:04 +02:00
|
|
|
log := logger.HTTP(r)
|
2017-03-26 20:11:09 +02:00
|
|
|
lib.Write(w, "running")
|
2017-03-30 14:49:14 +02:00
|
|
|
log.Info("show status")
|
2017-03-25 16:09:17 +01:00
|
|
|
}
|