Skip to content

gatekeeper is an api gateway who controls access to server

Notifications You must be signed in to change notification settings

ohs30359-nobuhara/gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatekeeper

gatekeeper is an api gateway who controls access to server

feature

provides the following features

  • RateLimit (Leaky bucket)
  • cache (redis)

Quick Start

before setup

setting config.yaml & start redis server

$ redis-server

start server

$ go run proxy.go

or

$ go build && ./gatekeeper 

access to http://localhost:8000/proxy/${origin_path}

EntryPoint

/health

health check entry point. return status code 200 & body "OK"

/metrics

prometheus entry point.

/proxy/${origin_path}

proxy entry point.

return proxied response body & header.

Option

About

gatekeeper is an api gateway who controls access to server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages