command
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Service
这是创建一个 micro service 的例子.
目录
- main.go - 服务的定义, 包括handler和客户端
- proto - protobuf 的定义文件
- gen_micro_proto.sh - 根据proto目录下存放的.proto文件生成对应的go-micro文件
运行
Run the service
go run main.go
Run the client
go run main.go --run_client
输出 Hello John
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package greeter is a generated protocol buffer package.
|
Package greeter is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.