Skip to content

Gateor is a lightweight, high-performance micro gateway built with Go.

Notifications You must be signed in to change notification settings

Dash-Abhishek/gateor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gateor

Gateor is a lightweight, high-performance micro gateway built with Go.

Features

  • Authentication
  • Rate limiting
  • Reverse proxy
  • Plugin-based architecture

Installation

To install Gateor, you need to have Docker installed on your machine. Then, you can use the following commands to build and run the Docker container:

git clone https://github.com/yourusername/gateor.git
cd gateor
docker build -t gateor .
docker run -p 8080:8080 gateor

Configuration

Gateor can be configured using YAML files in the services directory. Here is an example configuration for a service:

name: demo-proxy
basepath: /demo
stripBasepath: true
target: 
  host: https://dummyapi.online
rateLimit: 5

Plugin Architecture

Gateor uses a plugin-based architecture to handle request processing. Plugins can be chained together to create complex processing pipelines. The following plugins are available:

  • LeakyBucketRateLimit: Limits the rate of incoming requests.
  • JwtAuthenticator: Authenticates requests using JWT tokens.

Contributing

We welcome contributions to Gateor! Please fork the repository and submit pull requests.

About

Gateor is a lightweight, high-performance micro gateway built with Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published