1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-02-04 18:21:53 +02:00

25 lines
414 B
Markdown
Raw Normal View History

2020-12-26 15:17:20 +00:00
# Greeter
An example Greeter application
## Contents
- **srv** - an RPC greeter service
- **cli** - an RPC client that calls the service once
## Run Service
Start go.micro.srv.greeter
```shell
go run srv/main.go
```
2021-11-25 01:41:54 +08:00
## Run Client
2020-12-26 15:17:20 +00:00
Call go.micro.srv.greeter via client
```shell
go run cli/main.go
```
Examples of client usage via other languages can be found in the client directory.