gomicroexample

module
v0.0.0-...-214329d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT

README

gomicroexample

Some fragments about Go-micro service

Basis

a simple example about Say Hello just like official site, below you can see it including more features

  • functions calling tracing
  • custom service middleware
  • roudnrobin through service discovery
  • circuit breaker
  • rate limiter

and also, using go-web && echo to convert http request to rpc request

Communication

a simple example for showing how services communicate with each others

pubsub

another way to communicates with each services

Echoblog - Example Project

https://gitlab.com/echoblog

Directories

Path Synopsis
proto
Package go_micro_srv_basis is a generated protocol buffer package.
Package go_micro_srv_basis is a generated protocol buffer package.
web
communication
srv1/proto
Package go_micro_srv_srv1 is a generated protocol buffer package.
Package go_micro_srv_srv1 is a generated protocol buffer package.
srv2/proto
Package go_micro_srv_srv2 is a generated protocol buffer package.
Package go_micro_srv_srv2 is a generated protocol buffer package.
srv3/proto
Package go_micro_srv_srv3 is a generated protocol buffer package.
Package go_micro_srv_srv3 is a generated protocol buffer package.
proto/basis
Package basis is a generated protocol buffer package.
Package basis is a generated protocol buffer package.
handlers
Package handlers ...
Package handlers ...

Jump to

Keyboard shortcuts

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