Versions in this module Expand all Collapse all v2 v2.0.2 Jul 21, 2021 v2.0.1 Jul 19, 2021 v2.0.0 Jul 11, 2021 Changes in this version + const JSONContentType + var DefaultHealthPath = "/health" + func JSON(w http.ResponseWriter, code int, v interface{}) error + func NewHealthHandler(v ...Health) http.HandlerFunc + func RealIP(r *http.Request) string + type Health interface + IsHealthy func() error Other modules containing this package github.com/hamba/pkg