go-zero/rest
Kevin Wan 28409791fa
feat: support CORS, better implementation (#1217)
* feat: support CORS, better implementation

* chore: refine code
2021-11-09 20:35:57 +08:00
..
handler feat: slow threshold customizable in rest (#1189) 2021-11-01 14:48:26 +08:00
httpx test: add more tests (#1163) 2021-10-25 21:10:08 +08:00
internal feat: support CORS, better implementation (#1217) 2021-11-09 20:35:57 +08:00
pathvar export pathvar for user-defined routers (#911) 2021-08-14 22:57:28 +08:00
router test: add more tests (#1163) 2021-10-25 21:10:08 +08:00
token downgrade golang-jwt to support go 1.14 (#1073) 2021-09-21 13:42:45 +08:00
config.go refactor: simplify tls config in rest (#1181) 2021-10-31 14:10:47 +08:00
engine_test.go feat: support CORS by using rest.WithCors(...) (#1212) 2021-11-07 22:42:40 +08:00
engine.go feat: support CORS by using rest.WithCors(...) (#1212) 2021-11-07 22:42:40 +08:00
server_test.go feat: support CORS by using rest.WithCors(...) (#1212) 2021-11-07 22:42:40 +08:00
server.go feat: support CORS, better implementation (#1217) 2021-11-09 20:35:57 +08:00
types.go feat: support customizing timeout for specific route (#1203) 2021-11-03 22:20:32 +08:00