- Launch service center
follow https://github.com/apache/servicecomb-service-center/tree/master/examples/infrastructures/docker
- Run rest server
cd examples/rest/server
export CHASSIS_HOME=$PWD
go run main.go
- Run Rest client
cd examples/rest/client
export CHASSIS_HOME=$PWD
go run main.go
A simple end to end communication without any service registry involved
A complicated example with most of go chassis-features
simple rest communication
simple rpc communication
a file upload example by using go-chassis rest communication
this example use Istio pilot as service registry
show tracing on zipkin and export prometheus metrics format
Demonstrate how to set local scope parameter, header, and use them in your schema
In handler chain you can set a local data or protocol header, then you can read it in next handler in chain and your Restful handler
This example uses the rest protocol to show how to perform route management and achieve grayscale publishing.