Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 239 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 239 Bytes

healthz

HTTP healthcheck

go get github.com/nnqq/healthz
package main

import "github.com/nnqq/healthz"

func main() {
    h := healthz.NewHealthz()
    err := h.Serve()
    if err != nil {
        panic(err)
    }
}