command
Version:
v0.0.0-...-fabbfc5
Opens a new window with list of versions in this module.
Published: Feb 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
RPC API
使用Stack Gateway插件暴露RPC服务
go run server.go
运行Gateway
运行本示例中的main.go
go run main.go --gateway_handler=rpc --gateway_namespace=stack.rpc
请求
curl POST '127.0.0.1:8080/greeter/hello' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Curl Client"
}'
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.