From 1799bf084b381ac877808280604fe0e58c5e2201 Mon Sep 17 00:00:00 2001 From: liuhaotian Date: Sun, 23 Jan 2022 23:10:45 +0800 Subject: [PATCH] feat : token service --- app/brahma/api/murder/internal/handler/scripts_h.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/brahma/api/murder/internal/handler/scripts_h.go b/app/brahma/api/murder/internal/handler/scripts_h.go index 523d973..04aa75f 100644 --- a/app/brahma/api/murder/internal/handler/scripts_h.go +++ b/app/brahma/api/murder/internal/handler/scripts_h.go @@ -89,6 +89,7 @@ func DeleteScriptsH(ctx *fiber.Ctx) error { } func GetScriptApi(ctx *fiber.Ctx) error { + // outgoingContext, cancelFunc := pkg.TransFiberCtx2NewOutgoingContext(ctx, 3*time.Second) defer cancelFunc() c := murders.NewMurdersClient(rpc.GetServiceConn("token"))