Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

micro-demo

Demo of Micro, A microservice toolkit.

Setup micro and consul

go get github.com/micro/micro
go get github.com/hashicorp/consul
consul agent -dev -advertise=127.0.0.1

Run an example micro service

go get github.com/micro/micro/examples/greeter/server
server

Run different micro commands

micro list services
micro get service go.micro.srv.greeter
micro query go.micro.srv.greeter Say.Hello '{"name": "John"}'

Web interfaces

micro web interface micro web interface - specific service

About

Demo of Micro, A microservice toolkit

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors