Gateway

Build Status Go Report Card FOSSA Status codecov


Note: This project are in ReWrite mode for standard behavior, may not be stable


This is an simple gateway written in Golang

Features

Installation

Release

you can find first type document here for use released versions

Manual

  go get -t -v https://github.com/ah8ad3/gateway
  cd $GOPATH/src/github.com/ah8ad3/gateway
  make build
  ./dist/gateway secret   #for generate secret key
  ./dist/gateway load     # for load proxies from template json file
  ./dist/gateway run      # to run server

Docker

1.
  docker build -t ah8ad3/gateway .
  docker run -d -p 3000:3000 ah8ad3/gateway
2.
  docker pull ah8ad3/gateway:latest
  docker run -d -p 3000:3000 ah8ad3/gateway

TODO

Constants


Routing

RoutesV1 this is version 1 of routing in gateway, it create routes of services dynamic in gateway and receive request and change it to send to services

it just get x-www-urlencoded form and send it to service like json

testing to fix all bugs

RoutesV2 this is second version of routing in this gateway, it’s like rewirite reverce proxy to connect requests to services, also this Routation fix all RouteV1 constants


This api gateway create to make developers easier to work with services, not end

Contributing

Just pick one of the Todo works and do it, or write some plugin for it, in github standard mode PR and …

License

FOSSA Status