Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway

A simple service that processes user requests, performing authorization and balancing between services

Todo

  • HTTP Gateway
  • WS Gateway
  • Tls Gateway (testing)
  • Tls Services
  • Auth Middleware integration
  • Cutter Middleware integration
  • Logger Middleware integration
  • Balancer

Config example

The config file is created automatically if it was not created manually

workers: 4
is_intermediate: false
log_level: info
tls:
  cert: cert/cert.pem
  key: cert/key.pem
auth_servers:
  - http://127.0.0.2:50051
  - http://127.0.0.3:50051
services:
  SomeService:
    url_match: (test|stage).mlkh.ru:8080/.*
    upstreams:
    - http://127.0.0.2:8081/
    - http://127.0.0.3:8081/

About

Just APIGateway

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages