1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-29 18:04:17 +02:00
2021-11-24 17:41:54 +00:00

414 B

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.