generated from pkg/go-template
feat : token service
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b3c49eaa34
commit
417c70033b
|
@ -91,7 +91,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("murder"))
|
c := murders.NewMurdersClient(rpc.GetServiceConn("token"))
|
||||||
|
|
||||||
page := ctx.Query("page", "1")
|
page := ctx.Query("page", "1")
|
||||||
limit := ctx.Query("size", "10")
|
limit := ctx.Query("size", "10")
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func RpcServer() {
|
func RpcServer() {
|
||||||
lis, err := net.Listen("tcp", ":3001")
|
lis, err := net.Listen("tcp", ":3100")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctxLogger.Info(nil, "brahma server start up error", zap.String("error", err.Error()))
|
ctxLogger.Info(nil, "brahma server start up error", zap.String("error", err.Error()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue