examples/

directory
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2018 License: Apache-2.0

README

Quik start with examples

  1. Launch service center
cd examples
docker-compose up
  1. Run rest server
cd examples/rest/server
export CHASSIS_HOME=$PWD
go run main.go

  1. Run Rest client
 cd examples/rest/client
 export CHASSIS_HOME=$PWD
 go run main.go
 

Examples

communication

A simple end to end communication without any service registry involved

discovery

A complicated example with most of go chassis-features

rest

simple rest communication

rpc

simple rpc communication

file upload

a file upload example by using go-chassis rest communication

pilot

this example use Istio pilot as service registry

monitoring

show tracing on zipkin and export prometheus metrics format

Directories

Path Synopsis
communication
client command
server command
discovery
client command
server command
fileupload
client command
server command
monitoring
client command
server command
pilot
client command
server command
plugin
rest
client command
server command
rpc
client command
server command
employ
Package employ is a generated protocol buffer package.
Package employ is a generated protocol buffer package.
helloworld
Package helloworld is a generated protocol buffer package.
Package helloworld is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL