phrank

command module
v0.0.0-...-72b8456 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2015 License: MIT Imports: 8 Imported by: 0

README

phrank is a generic reverse proxy born out of the desire to build pure client-side apps accessing third party APIs. It is designed to be easily cloud-deployable.

Configuration

All configuration is done using command line flags.

Resources

Resources can be:

  • Another HTTP URL (i.e. http(s)://<Domain>/<Path>)
  • Local, static content (i.e. file://<Path>)

To define a map, just specifiy a --map flag for each resource that you use:

$ phrank --map "/api => https://api.twitter.com" \
         --map "/ => file://./static"

Usage & Deployment

My usual use-case is to fork this repository and deploy it to Heroku, dotCloud or any other PaaS that supports Go.


Version 2.0.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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