Skip to content
A Go microservices development framework
Go
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add some more issue templates (#987) Nov 26, 2019
agent fix import paths for v2 release Jan 30, 2020
api fixes for safe conversation and avoid panics (#1213) Feb 18, 2020
auth Improve JWT Package Errors (#1206) Feb 19, 2020
broker various fixes for broker and messaging in server (#1187) Feb 11, 2020
client secure the grpc client (#1215) Feb 19, 2020
codec fixes for safe conversation and avoid panics (#1213) Feb 18, 2020
config Auth Improvements (#1195) Feb 13, 2020
debug Trace type is now being recorded (#1188) Feb 12, 2020
errors pass micro errors from grpc server to grpc client (#1167) Feb 6, 2020
logger Add log level helper funtions (#1229) Feb 21, 2020
metadata Tracing: traces now correctly form a tree (#1170) Feb 6, 2020
monitor fix import paths for v2 release Jan 30, 2020
network New backoff (#1153) Feb 2, 2020
plugin fix import paths for v2 release Jan 30, 2020
proxy delete proxy cached route before updating (#1200) Feb 15, 2020
registry check for etcd watcher canceled value Feb 13, 2020
router Fix router panic for nil watcher Feb 10, 2020
runtime rename file Feb 7, 2020
server server/grpc: Prune Unused Code (#1220) Feb 19, 2020
service fix import paths for v2 release Jan 30, 2020
store Auth (#1147) Feb 3, 2020
sync fix import paths for v2 release Jan 30, 2020
transport fix import paths for v2 release Jan 30, 2020
tunnel tunnel: Prune Unused Functions (#1224) Feb 20, 2020
util Auth Improvements (#1195) Feb 13, 2020
web fix import paths for v2 release Jan 30, 2020
.gitignore .gitignore file for develop tools Sep 4, 2019
.golangci.yml add golanglint-ci Dec 3, 2019
.travis.yml client/grpc: fix panic on invalid message (#1191) Feb 13, 2020
CNAME Update CNAME Nov 14, 2019
Dockerfile go-micro docker now includes unprivileged user Nov 26, 2019
LICENSE Add apache license Feb 27, 2015
README.md Update README.md Jan 19, 2020
README.zh-cn.md Update README.zh-cn.md Sep 5, 2019
_config.yml Set theme jekyll-theme-architect Nov 14, 2019
defaults.go fix import paths for v2 release Jan 30, 2020
event.go fix import paths for v2 release Jan 30, 2020
function.go fix import paths for v2 release Jan 30, 2020
function_test.go fix import paths for v2 release Jan 30, 2020
go.mod update micro/cli, tidy mod (#1156) Feb 3, 2020
go.sum update micro/cli, tidy mod (#1156) Feb 3, 2020
micro.go fix import paths for v2 release Jan 30, 2020
options.go Auth Wrapper (#1174) Feb 10, 2020
service.go Auth Wrapper (#1174) Feb 10, 2020
service_test.go fix import paths for v2 release Jan 30, 2020

README.md

Go Micro License GoDoc Travis CI Go Report Card

Go Micro is a framework for microservice development.

Overview

Go Micro provides the core requirements for distributed systems development including RPC and Event driven communication. The micro philosophy is sane defaults with a pluggable architecture. We provide defaults to get you started quickly but everything can be easily swapped out.

Plugins are available at github.com/micro/go-plugins.

Follow us on Twitter or join the Community.

Features

Go Micro abstracts away the details of distributed systems. Here are the main features.

  • Service Discovery - Automatic service registration and name resolution. Service discovery is at the core of micro service development. When service A needs to speak to service B it needs the location of that service. The default discovery mechanism is multicast DNS (mdns), a zeroconf system.

  • Load Balancing - Client side load balancing built on service discovery. Once we have the addresses of any number of instances of a service we now need a way to decide which node to route to. We use random hashed load balancing to provide even distribution across the services and retry a different node if there's a problem.

  • Message Encoding - Dynamic message encoding based on content-type. The client and server will use codecs along with content-type to seamlessly encode and decode Go types for you. Any variety of messages could be encoded and sent from different clients. The client and server handle this by default. This includes protobuf and json by default.

  • Request/Response - RPC based request/response with support for bidirectional streaming. We provide an abstraction for synchronous communication. A request made to a service will be automatically resolved, load balanced, dialled and streamed. The default transport is gRPC.

  • Async Messaging - PubSub is built in as a first class citizen for asynchronous communication and event driven architectures. Event notifications are a core pattern in micro service development. The default messaging system is an embedded NATS server.

  • Pluggable Interfaces - Go Micro makes use of Go interfaces for each distributed system abstraction. Because of this these interfaces are pluggable and allows Go Micro to be runtime agnostic. You can plugin any underlying technology. Find plugins in github.com/micro/go-plugins.

Getting Started

See the docs for detailed information on the architecture, installation and use of go-micro.

You can’t perform that action at this time.