pomme/internal/api
2023-01-28 23:39:26 -05:00
..
api.go add rate limiting 2023-01-20 18:29:33 -05:00
api_test.go added user creation, login, and logout test. Linted. Go mod. Adding http.StatusOK const in a few places I noticed it was not in. 2023-01-28 23:39:26 -05:00
auth.go added user creation, login, and logout test. Linted. Go mod. Adding http.StatusOK const in a few places I noticed it was not in. 2023-01-28 23:39:26 -05:00
jwt.go make jwt expiration consistent with cookies 2023-01-20 10:10:27 -05:00
users.go added a handler function for common stuff like 500 error, and changed the auth failure handler. Added error handling in a few places. Unexported setDBMiddleware handler 2023-01-19 23:56:38 -05:00
zone.go move defer file.Close() to before validateContentType because that could cause problems 2023-01-21 11:21:41 -05:00