directory
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
Proxy
Transparently proxy Go Micro apps
Run Proxy
# run the proxy
go run proxy/main.go --server_address=":8081"
# run the greeter
go run greeter/main.go
Call Service
Proxy the request
curl \
-H 'Content-Type: application/json' \
-H 'Micro-Service: greeter' \
-H 'Micro-Endpoint: Greeter.Hello' \
-d '{"name": "John"}' \
http://localhost:8081
Directories
¶
|
|
proto
Package greeter is a generated protocol buffer package.
|
Package greeter is a generated protocol buffer package. |
|
|
Click to show internal directories.
Click to hide internal directories.