8000 GitHub - lhridder/infrapi: API gateway for infrared
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lhridder/infrapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrapi - API gateway for infrared

utility for lhridder/infrared

Global config.yml

apiBind: :5000
redis:
  host: localhost
  pass:
  db: 0

API

Routes examples

GET / will return 200(OK)

GET /proxies will return

[
"config",
"config2"
]

GET /proxies/{name} will return

{
"domainNames": ["play.example.org"],
"proxyTo": "backend.example.org:25566"
}

POST /proxies/{name} with body

{
"domainNames": ["play.example.org"],
"proxyTo": "backend.example.org:25566"
}

will return 200(ok)

DELETE /proxies/{name} will return 200(OK)

Used sources

About

API gateway for infrared

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0