1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/examples/proxy
2020-12-26 15:17:20 +00:00
..
go Add examples 2020-12-26 15:17:20 +00:00
python Add examples 2020-12-26 15:17:20 +00:00
ruby Add examples 2020-12-26 15:17:20 +00:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Proxy Sidecar

The micro proxy provides go-micro features as http endpoints.

This directory contains examples for using the proxy with various languages.

Usage

See details below

Run Proxy

micro proxy

Or with http proxy handler

micro proxy --handler=http

Service

Run server

{python, ruby} {http, rpc}_server.{py, rb}

Run client

{python, ruby} {http, rpc}_client.{py, rb}

Examples

Each language directory {python, ruby, ...} contains examples for the following:

  • Registering Service
  • JSON RPC Server and Client
  • HTTP Server and Client