Commit Graph

5 Commits (c9a2a60e28717d3cde190c2fd83e6c9dd84dba7e)

Author SHA1 Message Date
Kevin Wan ae98375194
add more tests (#319) 4 years ago
kevin fe0d0687f5 support cors in rest server 4 years ago
kevin 737cd4751a rename NewPatRouter to NewRouter 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