55b92151f4
refactor(net/ghttp): enhance ghttp.StartPProfServer ( #3555 )
2024-09-28 18:10:53 +08:00
c4327f62e7
fix(net/ghttp): server shutdown not graceful using admin api /debug/admin/shutdown ( #3777 )
2024-09-19 14:10:16 +08:00
e1fa99013a
use iota to unify the enums definition ( #3305 )
2024-02-06 11:44:29 +08:00
984cca8b82
feat: update dependent redoc js for swagger ui ( #3217 )
2023-12-28 20:13:21 +08:00
4fc24e1391
add endpoints configuration for ghttp.Server ( #2741 )
2023-07-06 21:29:33 +08:00
8c07f1a42c
feat: support graceful shutdown ( #2469 ) ( #2475 )
2023-03-13 19:21:56 +08:00
1cd1449085
add package contrib/rpc/grpcx ( #2169 )
2023-03-08 14:12:51 +08:00
1793bf0863
add golangci feature to guarantee codes quality ( #2229 )
2022-11-01 20:12:21 +08:00
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
878dbe4ab9
fix issue #1740
2022-04-13 20:42:39 +08:00
09c3425dd3
Merge pull request #1683 from Macrow/master
...
feat: support custom listener
2022-04-07 20:05:16 +08:00
c7f51b8e77
fix: SetListener test data race error
2022-03-30 14:55:03 +08:00
b57cbacc82
refactor: method SetListener accepts slice of net.Listener and remove method SetListeners
2022-03-29 23:22:23 +08:00
325887fa18
fix: SetListener overwrite default address
2022-03-22 21:35:53 +08:00
73ca527b0a
feat: add SetListener and throw error in SetListeners
2022-03-22 13:34:15 +08:00
ad202ea735
refactor: adjust method SetListeners of server and add unit test
2022-03-20 02:31:21 +08:00
8357b0f649
improve comment
2022-03-19 17:58:21 +08:00
d7bd1b74e8
feat: support custom listener
2022-03-18 20:54:32 +08:00
bceb5fc7de
rename gdebug.TestData* -> gtest.Data*; add UT case for http server
2022-03-17 16:58:04 +08:00
8343d1cd0e
Merge branch 'master' into cookie-secure-config
2022-03-02 15:20:31 +08:00
6f5058c9b6
add x-url-path feature for ghttp.Server
2022-02-22 14:12:09 +08:00
04eb654133
add error stack for internal error printing
2022-01-28 14:51:49 +08:00
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
be03b3cdda
Improved import, by group improt.
2021-11-13 23:23:55 +08:00
fa5499373a
replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg
2021-10-21 18:22:47 +08:00
1bc0635f8b
version 2
2021-10-11 21:41:56 +08:00
322f5933ad
add build-in swagger ui support for ghttp.Server
2021-10-03 00:22:06 +08:00
1e80dc71eb
add automatic generating for OpenApi specification for ghttp.Server routes
2021-10-02 22:34:39 +08:00
993bf897cf
remove deprecated functions; refract package gjson
2021-09-27 22:47:39 +08:00
df09d8c604
refract package ghttp/gredis/glog
2021-09-27 21:27:24 +08:00
0140808460
add handler extension feature for package ghttp
2021-07-13 23:01:31 +08:00
50ffaef33f
add context for intlog/gsession;improve struct/structs converting for package gconv
2021-06-26 16:23:54 +08:00
237f172ae5
add file configuration support for logger in ghttp.Server
2021-06-26 11:18:44 +08:00
90f4bba8fd
gofmt格式化
2021-04-07 20:52:38 +08:00
802187abc4
add graceful reload timeout
2021-04-07 16:06:37 +08:00
a9aa021914
add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview
2021-01-12 00:42:33 +08:00
8ee3793f8f
add SessionCookieMaxAge configuration for ghttp.Server
2021-01-11 20:06:09 +08:00
b12c909fd6
add logging level configuration for package ghttp
2021-01-06 01:00:49 +08:00
5c2574da7c
improve package ghttp
2021-01-06 00:39:50 +08:00
446f8e7110
comment update
2020-12-16 01:15:22 +08:00
117eaea720
add support for cert and key file reading from resource manager for ghttp.Server
2020-12-09 00:06:56 +08:00
0b0141954b
Update ghttp_server_config.go
2020-10-15 18:04:32 +08:00
67fb626339
add configuration SessionCookieOutput for ghttp.Server
2020-10-14 20:52:26 +08:00
04dee090a3
improve graceful reload feature for ghttp.Server
2020-07-25 13:50:04 +08:00
f05f855c07
improve default max header bytes from 1KB to 10KB for ghttp.Server
2020-05-21 20:10:38 +08:00
bc5f773ba6
make WriteTimeout default to 0 for ghttp.Server
2020-05-19 19:16:47 +08:00
45170bc53e
add ClientMaxBodySize configuration for ghttp.Server
2020-04-30 20:37:09 +08:00
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