Split off the API into a new module
Review Request #9773 — Created March 13, 2018 and submitted — Latest diff uploaded
This patch splits off everything off the last bit of RB Gateway (except
for the main loop) into a package. There are also a few minor cleanups
related to middleware use.
Ran unit tests.
Diff Revision 1 (Latest)
main.go | ||
api/api.go | ||
api/auth.go Was auth.go | ||
api/middleware.go Was server.go | ||
api/routes.go Was routes.go | ||
api/routes_test.go Was routes_test.go | ||
api/session.go Was session.go |
main.go |
---|
api/api.go |
---|
auth.go |
---|
server.go |
---|
routes.go |
---|
routes_test.go |
---|
session.go |
---|