Commit Graph

12 Commits (00061c2e5bedfaf34787cc604d33543b5aa871b4)

Author SHA1 Message Date
另维64 7e087de6e6
doc: fix spell mistake (#627) 4 years ago
Kevin Wan fcd15c9b17
refactor, and add comments to describe graceful shutdown (#564) 4 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
Kevin Wan 82d1ccf376
fixes #286 (#315) 4 years ago
kevin fe0d0687f5 support cors in rest server 4 years ago
kingxt aa3c391919
api add middleware support (#140)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* revert

* refactor and rename folder to group

* remove no need

* add anonymous annotation

* optimized

* rename

* rename

* update test

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* simple logic

* should reverse middlewares

* optimized

* optimized

* rename

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 054d9b5540 rename rest files 4 years ago
kevin b541403ce2 export router 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin b73684d9a6 move router to httpx 4 years ago
kevin f372ded63c rename ngin to rest 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago