https://github.com/dash-abhishek/gateor
Gateor is a lightweight, high-performance micro gateway built with Go.
https://github.com/dash-abhishek/gateor
early-development federated micro-gateway
Last synced: 2 months ago
JSON representation
Gateor is a lightweight, high-performance micro gateway built with Go.
- Host: GitHub
- URL: https://github.com/dash-abhishek/gateor
- Owner: Dash-Abhishek
- Created: 2024-12-13T10:52:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-12T12:34:57.000Z (5 months ago)
- Last Synced: 2025-02-14T02:52:58.117Z (4 months ago)
- Topics: early-development, federated, micro-gateway
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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:
```yaml
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.