We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relevant routes from #58 (to be finalized):
/user
PUT
{email: <string>, password: <string>, org_id: <id>}
{token: <JWT>}
/user/login
POST
{email: <string>, password: <string>}
blue-jay/blueprint is a good template for MVC golang servers. I've used as a reference to structure a much of this project. In particular, something like https://github.com/blue-jay/blueprint/blob/master/middleware/acl/acl.go would probably be the way to go.
This middleware would be selectively applied to routes by wrapping around the route's http.Handler similar to how it works for the logging and recovery middleware https://github.com/HackGT/SponsorshipPortal/blob/master/server/routes.go#L26-L27
http.Handler
The text was updated successfully, but these errors were encountered:
Anish2
dli357
Successfully merging a pull request may close this issue.
Relevant routes from #58 (to be finalized):
/user
PUT
{email: <string>, password: <string>, org_id: <id>}
{token: <JWT>}
/user/login
POST
{email: <string>, password: <string>}
{token: <JWT>}
blue-jay/blueprint is a good template for MVC golang servers. I've used as a reference to structure a much of this project. In particular, something like https://github.com/blue-jay/blueprint/blob/master/middleware/acl/acl.go would probably be the way to go.
This middleware would be selectively applied to routes by wrapping around the route's
http.Handler
similar to how it works for the logging and recovery middleware https://github.com/HackGT/SponsorshipPortal/blob/master/server/routes.go#L26-L27The text was updated successfully, but these errors were encountered: