some fixes

This commit is contained in:
ston1th 2023-03-23 00:08:33 +01:00
commit fa65b381a4
7 changed files with 37 additions and 26 deletions

View file

@ -22,10 +22,6 @@ func local(h types.CtxHandler) types.CtxHandler {
}
}
func healthzHandler(ctx *types.Context) {
ctx.OK()
}
func newHandler(ctx *types.Context) {
if ctx.Method() == "POST" {
b, err := ctx.ReadBody()