1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-05 10:20:53 +02:00
go-micro/examples/greeter
2021-11-24 17:41:54 +00:00
..
cli replace ioutil with io and os (#2327) 2021-10-30 19:24:40 +01:00
srv update 2021-10-13 13:31:23 +01:00
README.md feat: delete redundant lines (#2364) 2021-11-24 17:41:54 +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

go run srv/main.go

Run Client

Call go.micro.srv.greeter via client

go run cli/main.go

Examples of client usage via other languages can be found in the client directory.