Commit Graph

637 Commits

Author SHA1 Message Date
John Guo
9402cc8c6a
fix /* router supported for handler of package ghttp; fix json tag name issue when it contains , for package goai; add proxy example for http server (#2294)
* fix  router supported for handler of package ghttp; fix json tag name issue when it contains  for package goai

* add proxy example for http server
2022-11-14 19:57:39 +08:00
John Guo
8c71d579b5
add command fix and up (#2280) 2022-11-10 19:56:12 +08:00
John Guo
ee58255418
move common used tag from packages to package gtag for maintainability (#2256)
* move common used tag from packages to package gtag for maintainability

* move common used tag from packages to package gtag for maintainability

Co-authored-by: houseme <housemecn@gmail.com>
2022-11-07 17:51:37 +08:00
John Guo
60d8283971
fix router parameters handling by auto url decoding (#2262)
improve router parameters handling by auto url decoding
2022-11-04 15:03:27 +08:00
SUDOCS
63c3e8396b
attach and export real handler for request (#2220)
* attach and export real handler for request

* add note

* rename HandlerParsedItem to HandlerItemParsed

Co-authored-by: John Guo <john@johng.cn>
2022-11-01 20:17:59 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
ivothgle
33fdde6afd
opt: parameter verification of optimized handler methods (#2224) 2022-10-20 19:36:01 +08:00
John Guo
ee6103418b
auto creating error with code in ghttp.MiddlewareHandlerResponse when there's no 200 http status code (#2223) 2022-10-20 15:50:17 +08:00
John Guo
b617d399b6
fix info content when listens on port :0 for ghttp.Server (#2191) 2022-10-11 19:20:39 +08:00
John Guo
b1611fee1b
improve port listening for ghttp.Server (#2175)
* version updates

* fix issue #2172

* improve port listening for ghttp.Server

* UT cases update

* UT cases update

* add GetListenedPort/GetListenedAddress for gtcp.Server

* UT cases update for package gudp

* up
2022-10-08 21:45:21 +08:00
John Guo
f1455ad37a
fix issue #2172 (#2173)
* version updates

* fix issue #2172
2022-10-08 11:46:38 +08:00
John Guo
66aa0c7050
add switch of brief stack for package gerror (#2153) 2022-09-27 10:11:33 +08:00
John Guo
f580b7a488
improve header printing in json format for package glog; add golang v1.18 support for ci workflow (#2037) 2022-07-29 19:06:22 +08:00
John Guo
6172862061
add MiddlewareJsonBody, improve error response handling for package ghttp (#2032) 2022-07-27 19:52:02 +08:00
John Guo
98b2e8ab18
improve panic...recover of exit feature for package ghttp/gtimer/gfsnotify (#2000) 2022-07-13 20:20:38 +08:00
yuancjun
ab929e465b
update comment for ghttp.Request (#1968) 2022-07-06 19:48:43 +08:00
John Guo
2c169e2330
improve package glog; fix issue in package gtrace (#1952) 2022-06-28 15:47:16 +08:00
John Guo
48f95d0009 fix issue in Response.WriteJson/Xml functions 2022-06-24 15:21:10 +08:00
John Guo
2bcee014f7
add tracing feature for package gproc (#1923) 2022-06-21 21:46:12 +08:00
John Guo
f0568b4e22 Merge branch 'develop' 2022-06-21 19:08:36 +08:00
Lonely
52056644d4
add context parameter (#1919) 2022-06-20 20:34:59 +08:00
John Guo
cdd4473df5 improve command gen service; add error trace for error of some packages 2022-06-16 17:07:25 +08:00
John Guo
17ab0e2ced remove returning error of Write* functions for ghttp.Server; add UT cases for gclient.Client.DoRequestObj 2022-06-15 19:36:53 +08:00
John Guo
88844649eb fix version of redoc 2022-06-01 16:34:07 +08:00
John Guo
26066965c3 Merge branch 'master' of https://github.com/gogf/gf into develop 2022-05-25 16:02:48 +08:00
John Guo
ea79b3cbb8 move package goai from protocol to net 2022-05-24 18:53:10 +08:00
John Guo
4d13ffdc26 improve ut case for empty upload file validation 2022-05-23 22:23:29 +08:00
John Guo
331a29024e merge master 2022-05-23 22:17:06 +08:00
houseme
6aa5c2b2ef
Fix/1748 issues #1748 (#1817) 2022-05-23 22:09:11 +08:00
John Guo
ab5062663e
Feature/gsvc interface (#1871) 2022-05-23 15:08:11 +08:00
houseme
ab82599ee2
Feature/polaris feat: Add Polaris support (#1797) 2022-05-18 22:24:40 +08:00
chenghonour
61271e4f7b
Replace the Swagger JS CDN source from jsdelivr to unpkg.com (#1852)
replace the CDN source from jsdelivr to unpkg.com

The jsdelivr cdn certificate expired in the mainland, causing the website to hang. To fix it, the solution is to replace the CDN source to unpkg.com
2022-05-18 20:34:59 +08:00
John Guo
25c091df7f improve package ghttp 2022-05-06 20:25:21 +08:00
John Guo
48fddcd5e7 improve session Manager and default Storage implements for package gsession; fix issue #1781 2022-04-27 15:05:34 +08:00
John Guo
878dbe4ab9 fix issue #1740 2022-04-13 20:42:39 +08:00
John Guo
a228495ced improve error message for package ghttp 2022-04-12 16:15:54 +08:00
John Guo
e8581d4fd5 add Is/Equal/Unwrap functions for package gerror 2022-04-12 15:45:26 +08:00
John Guo
2d6fcf5d06 fix issue #1708 2022-04-12 12:09:09 +08:00
John Guo
1e141d9f64 improve package gjson/ghttp 2022-04-07 21:26:39 +08:00
John Guo
09c3425dd3
Merge pull request #1683 from Macrow/master
feat: support custom listener
2022-04-07 20:05:16 +08:00
Macrow
0e0d2e1c45 fix: break when finished set custom listener in newGracefulServer method 2022-04-01 09:03:36 +08:00
Macrow
c7f51b8e77 fix: SetListener test data race error 2022-03-30 14:55:03 +08:00
Macrow
b57cbacc82 refactor: method SetListener accepts slice of net.Listener and remove method SetListeners 2022-03-29 23:22:23 +08:00
John Guo
707dc6b346 add xextensions feature for package goai 2022-03-29 20:31:00 +08:00
John Guo
f4192d695c remove sort feature for openapi 2022-03-24 22:08:06 +08:00
John Guo
6664437b06 add sort feature for path of openapi 2022-03-24 21:56:37 +08:00
John Guo
96a135834a improve openapi genereating for package ghttp 2022-03-24 20:15:54 +08:00
John Guo
80c068ae05 add example for properties of swagger schema object 2022-03-23 15:05:37 +08:00
John Guo
6574b8cbfe change build-in swagger ui to public cdn 2022-03-23 14:48:34 +08:00
John Guo
20c48b1712 change build-in swagger ui to public cdn 2022-03-23 14:46:56 +08:00