8000 使用问题,指定了参数但是依然没有输出 · Issue #1 · k8w/tsrpc-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
使用问题,指定了参数但是依然没有输出 #1
Open
@wen495713

Description

@wen495713

命令:
tsrpc encode --verbose -p ./src/shared/protocols/serviceProto.ts -s PtlSend/ReqSend -o ./send.bin {content: 'hello'}

serviceProto.ts是github.com/k8w/tsrpc-examples/chatroom/backend里面的例子

"PtlSend/ReqSend": {
"type": "Interface",
"properties": [
{
"id": 0,
"name": "content",
"type": {
"type": "String"
}
}
]
}

命令执行后没有调试信息输出,也没有输出send.bin二进制文件

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0