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

@ -9,18 +9,12 @@ import (
)
const (
healthz = "/healthz"
keyID = schema.KeyPath + core.IDRoute
keyReqID = schema.KeyPath + core.IDRoute + core.AIDRoute
reqID = schema.ReqPath + core.IDRoute
)
var Routes = []types.Route{
{
Path: healthz,
Handler: healthzHandler,
Methods: []string{"GET"},
},
{
Path: schema.KeyPath,
Handler: local(keyListHandler),