feat : token service
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
liuhaotian 2022-01-23 23:10:45 +08:00
parent 417c70033b
commit 1799bf084b

View File

@ -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"))