Commit Graph

75 Commits

Author SHA1 Message Date
John Guo
878dbe4ab9 fix issue #1740 2022-04-13 20:42: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
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
Macrow
325887fa18 fix: SetListener overwrite default address 2022-03-22 21:35:53 +08:00
Macrow
73ca527b0a feat: add SetListener and throw error in SetListeners 2022-03-22 13:34:15 +08:00
Macrow
ad202ea735 refactor: adjust method SetListeners of server and add unit test 2022-03-20 02:31:21 +08:00
houseme
8357b0f649 improve comment 2022-03-19 17:58:21 +08:00
Macrow
d7bd1b74e8 feat: support custom listener 2022-03-18 20:54:32 +08:00
John Guo
bceb5fc7de rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
yuzhan
8343d1cd0e Merge branch 'master' into cookie-secure-config 2022-03-02 15:20:31 +08:00
John Guo
6f5058c9b6 add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
3cb578488c add service registry feature for package ghttp/gclient 2022-01-27 16:50:31 +08:00
于湛
572e71d76a add CookieOptions
add UnitTest
2022-01-07 17:10:21 +08:00
于湛
c91b83969c WIP: add cookie security configuration 2022-01-05 14:33:20 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
fa5499373a replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
322f5933ad add build-in swagger ui support for ghttp.Server 2021-10-03 00:22:06 +08:00
John Guo
1e80dc71eb add automatic generating for OpenApi specification for ghttp.Server routes 2021-10-02 22:34:39 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
John Guo
0140808460 add handler extension feature for package ghttp 2021-07-13 23:01:31 +08:00
John Guo
50ffaef33f add context for intlog/gsession;improve struct/structs converting for package gconv 2021-06-26 16:23:54 +08:00
John Guo
237f172ae5 add file configuration support for logger in ghttp.Server 2021-06-26 11:18:44 +08:00
wujia
90f4bba8fd gofmt格式化 2021-04-07 20:52:38 +08:00
ansionfor
802187abc4 add graceful reload timeout 2021-04-07 16:06:37 +08:00
John Guo
a9aa021914 add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview 2021-01-12 00:42:33 +08:00
John Guo
8ee3793f8f add SessionCookieMaxAge configuration for ghttp.Server 2021-01-11 20:06:09 +08:00
jflyfox
b12c909fd6 add logging level configuration for package ghttp 2021-01-06 01:00:49 +08:00
jflyfox
5c2574da7c improve package ghttp 2021-01-06 00:39:50 +08:00
John Guo
446f8e7110 comment update 2020-12-16 01:15:22 +08:00
John Guo
117eaea720 add support for cert and key file reading from resource manager for ghttp.Server 2020-12-09 00:06:56 +08:00
yuancjun
0b0141954b
Update ghttp_server_config.go 2020-10-15 18:04:32 +08:00
John
67fb626339 add configuration SessionCookieOutput for ghttp.Server 2020-10-14 20:52:26 +08:00
john
04dee090a3 improve graceful reload feature for ghttp.Server 2020-07-25 13:50:04 +08:00
John
f05f855c07 improve default max header bytes from 1KB to 10KB for ghttp.Server 2020-05-21 20:10:38 +08:00
John
bc5f773ba6 make WriteTimeout default to 0 for ghttp.Server 2020-05-19 19:16:47 +08:00
John
45170bc53e add ClientMaxBodySize configuration for ghttp.Server 2020-04-30 20:37:09 +08:00
John
362e380ada improve SetConfigWithMap function for package ghttp/glog/gview; reveal some logger functions for default logger of package glog 2020-04-15 11:04:39 +08:00
John
2c1e2155e3 improve function Server.Handler for package ghttp 2020-04-06 20:29:35 +08:00
John
f89976cad5 improve ghttp.Client 2020-03-25 15:09:13 +08:00
John
42fd583bfd add more inernal logging points for core components 2020-02-24 21:09:19 +08:00
John
52943b283c go.mod updates; add search path configuration in file for package ghttp.Server 2020-02-16 16:34:30 +08:00
John
202419202f improve logger feautre, add unit testing cases for ghttp.Server; add SetDefaultLogger function for glog 2020-01-21 15:42:08 +08:00
John
18892fb66d add iterate example for glist; improve variable name for ghttp.Server 2019-12-18 19:37:07 +08:00
John
87295ef1fe improve process communication feature for gproc; add more slice converting functions for gconv 2019-12-11 21:22:41 +08:00
John
6abe660287 export router map api for ghttp.Server; comment update for ghttp.Server 2019-12-04 13:55:08 +08:00
John
55e2646367 comment update for ghttp.Server 2019-12-01 21:05:46 +08:00