command
Version:
v0.0.0-...-908d554
Opens a new window with list of versions in this module.
Published: Nov 2, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Service
本篇演示如何使用Service。
内容
- main.go - 服务端
- client.go - 客户端
- hello_test.go - 单元测试示例
运行
使用protoc生成相应的代码
protoc --go_out=. --micro_out=. proto/greeter.proto
运行服务端
go run server.go
运行客户端
go run client.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.