feat : token service
continuous-integration/drone/push Build is passing Details

master
liuhaotian 2022-01-23 23:10:45 +08:00
parent 417c70033b
commit 1799bf084b
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ func DeleteScriptsH(ctx *fiber.Ctx) error {
} }
func GetScriptApi(ctx *fiber.Ctx) error { func GetScriptApi(ctx *fiber.Ctx) error {
//
outgoingContext, cancelFunc := pkg.TransFiberCtx2NewOutgoingContext(ctx, 3*time.Second) outgoingContext, cancelFunc := pkg.TransFiberCtx2NewOutgoingContext(ctx, 3*time.Second)
defer cancelFunc() defer cancelFunc()
c := murders.NewMurdersClient(rpc.GetServiceConn("token")) c := murders.NewMurdersClient(rpc.GetServiceConn("token"))