The micro sidecar is a language agnostic proxy which provides all the features of go-micro as a HTTP server. To learn more about the sidecar look here.
This directory contains examples for using the sidecar with various languages.
## Usage
Use Consul
brew install consul
consul agent -dev
Alternatively run sidecar with --registry=mdns
for multicast dns and zero dependencies.
micro sidecar
Or with http proxy handler
micro sidecar --handler=proxy
Run server
{python, ruby} {http, rpc}_server.{py, rb}
Run client
{python, ruby} {http, rpc}_client.{py, rb}
Each language directory {python, ruby, ...} contains examples for the following:
- Registering Service
- JSON RPC Server and Client
- HTTP Server and Client