Core

/app/controller/clib/healthcheck.go (222 B)

 1
2
3
4
5
6
7
8
9
10
11
12
package clib

import (
"github.com/valyala/fasthttp"

"{{{ .Package }}}/app/controller/cutil"
)

func Healthcheck(rc *fasthttp.RequestCtx) {
x := map[string]string{"status": "OK"}
_, _ = cutil.RespondJSON(rc, "", x)
}