Commit Graph

18 Commits

Author SHA1 Message Date
kevin
2b1466e41e add more tests 2020-08-21 23:09:35 +08:00
kevin
9e14820698 fix golint warnings 2020-08-19 16:00:55 +08:00
kevin
054d9b5540 rename rest files 2020-08-18 20:20:44 +08:00
kevin
d6c7da521e remove bodyless check 2020-08-12 14:44:09 +08:00
kevin
96b6d2ab58 parse body only if content length > 0 2020-08-12 14:37:34 +08:00
kevin
88a73f1042 return ErrBodylessRequest on get method etc. 2020-08-12 14:31:11 +08:00
kevin
80d55dbc02 export httpx.GetRemoteAddr 2020-08-12 12:25:52 +08:00
kevin
b541403ce2 export router 2020-08-12 12:16:36 +08:00
kevin
a7c02414f3 export token parser for refresh token service 2020-08-12 12:12:31 +08:00
kevin
c57051ce63 use strings.Contains instead of strings.Index 2020-08-11 17:18:51 +08:00
kevin
40895ba8d9 optimize reading http request body 2020-08-10 18:27:08 +08:00
kevin
215b4bae3b check content length before reading 2020-08-10 17:55:19 +08:00
kevin
0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kim
44290aa4d6 refactor 2020-07-31 17:11:59 +08:00
kim
cf8e0a118f refactor ngin to rest 2020-07-31 17:03:19 +08:00
kevin
b73684d9a6 move router to httpx 2020-07-31 12:13:30 +08:00
kevin
f372ded63c rename ngin to rest 2020-07-31 11:45:16 +08:00
kevin
0897f60c5d rename ngin to rest 2020-07-31 11:14:48 +08:00