Documentation ¶
Overview ¶
Package janus is a lightweight, API Gateway and Management Platform enables you to control who accesses your API, when they access it and how they access it. API Gateway will also record detailed analytics on how your users are interacting with your API and when things go wrong.
For a full guide visit https://github.com/hellofresh/janus
Directories ¶
Path | Synopsis |
---|---|
features
|
|
pkg
|
|
api
Package api holds the models for the API Definition.
|
Package api holds the models for the API Definition. |
config
Package config provides the configuration for Janus.
|
Package config provides the configuration for Janus. |
errors
Package errors provides a nice way of handling http errors Examples: To create an error: err := errors.New(http.StatusBadRequest, "Something went wrong")
|
Package errors provides a nice way of handling http errors Examples: To create an error: err := errors.New(http.StatusBadRequest, "Something went wrong") |
proxy/balancer
Package balancer provides a simple interface to create concrete balancer algorightms that can be used to choose an upstream
|
Package balancer provides a simple interface to create concrete balancer algorightms that can be used to choose an upstream |
Click to show internal directories.
Click to hide internal directories.