A proxy library for micro services
Switch branches/tags
Nothing to show
Clone or download
asim Merge pull request #1 from micro/nats
Add NATS proxy service
Latest commit f7bd64c Nov 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/helloworld First Nov 27, 2018
proxy Add NATS proxy service Nov 29, 2018
LICENSE First Nov 27, 2018
README.md remove space Nov 29, 2018

README.md

Go Proxy License GoDoc

Go Proxy provides the ability to create proxy aware Go Micro services.

Overview

Go Micro is a distributed systems framework for client/server communication. It handles the details around discovery, fault tolerance, etc as a library but this may not make sense at scale. The Go Proxy library enables handing off these concerns to a proxy or "service mesh".

Go Proxy let's us create proxied versions of Go Micro services.

Supported

Contributions welcome!

Usage

Server

Create a Consul Connect-Native micro service.

import (
	"github.com/micro/go-micro"
	"github.com/micro/go-proxy/proxy/connect"
)

// Create a Consul Connect service
service := connect.NewService(
	micro.Service("greeter"),
)

Client

import (
	"github.com/micro/go-proxy/proxy/connect"
)

// create a new connect enabled service
service := connect.NewService()

// now use the client
greeter := proto.NewGreeterService("greeter", service.Client())