go-proxy

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: Apache-2.0

README

Go Proxy License GoDoc

Go Proxy is a proxy library for Go Micro.

Overview

Go Micro is a distributed systems framework for client/server communication. It handles the details around discovery, fault tolerance, rpc communication, etc. We may want to leverage this in broader ecosystems which make use of standard http or we may also want to offload a number of requirements to a single proxy.

Features

  • Transparent Proxy - Proxy requests to any micro services through a single location. Go Proxy enables you to write Go Micro proxies which handle and forward requests. This is good for incorporating wrappers.

  • Single Backend Router - Enable the single backend router to proxy directly to your local app. The proxy allows you to set a router which serves your backend service whether its http, grpc, etc.

  • Protocol Aware Handler - Set a request handler which speaks your app protocol to make outbound requests. Your app may not speak the MUCP protocol so it may be easier to translate internally.

  • Control Planes - Additionally we support use of control planes to offload many distributed systems concerns.

    • Consul - Using Connect-Native to provide secure mTLS.
    • NATS - Fully leveraging NATS as the control plane and data plane.

Directories

Path Synopsis
control
consul
Package consul provides Consul Connect control plane
Package consul provides Consul Connect control plane
nats
Package nats provides a NATS control plane
Package nats provides a NATS control plane
examples
proxy/greeter/proto
Package greeter is a generated protocol buffer package.
Package greeter is a generated protocol buffer package.
router
http
Package http provides a micro rpc to http proxy
Package http provides a micro rpc to http proxy
mucp
Package mucp transparently forwards the incoming request using a go-micro client.
Package mucp transparently forwards the incoming request using a go-micro client.

Jump to

Keyboard shortcuts

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