John Guo
|
5f4293a803
|
make unnecessaryly exported resource private for package ghttp
|
2021-01-19 19:33:21 +08:00 |
|
John Guo
|
fe80881ec9
|
improve package ghttp
|
2021-01-19 19:18:39 +08:00 |
|
jflyfox
|
826b9b1b1f
|
fix issue in struct converting for package ghttp
|
2021-01-18 09:22:46 +08:00 |
|
John Guo
|
093034acd1
|
copyright comment update
|
2021-01-17 21:46:25 +08:00 |
|
John Guo
|
5c9cee7fb9
|
improve package gconv
|
2021-01-17 20:56:38 +08:00 |
|
John Guo
|
91e29e23a4
|
improve package gcfg for searching priority
|
2021-01-16 22:31:48 +08:00 |
|
John Guo
|
1e309e570d
|
Merge branch 'master' into develop
|
2021-01-16 20:42:44 +08:00 |
|
John Guo
|
8362322d63
|
Merge pull request #1129 from eyasliu/develop-ghttp-wrap-std-handler
add util: WrapF and WrapH to transform net/http handler to ghttp.HandlerFunc
|
2021-01-16 20:41:57 +08:00 |
|
eyasliu
|
c20f3f0595
|
add Wrapf and WrapH to transform net/http.HandlerFunc and net/http.Handler to ghttp.HandlerFunc
|
2021-01-16 17:53:26 +08:00 |
|
jianchenma
|
73c68e48a1
|
improve package gvalid
|
2021-01-12 10:46:39 +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 |
|
John Guo
|
a4152347e5
|
improve comment for package ghttp
|
2021-01-10 23:37:20 +08:00 |
|
John Guo
|
e141b8e098
|
shutdown server gracefully when reveiving TERM signal
|
2021-01-08 00:58:58 +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
|
6c08d5fd81
|
fix issue missing build-in variable Request for template parsing of ghttp.Response
|
2021-01-02 01:53:36 +08:00 |
|
jflyfox
|
86e70ad55c
|
improve package gerror
|
2020-12-30 13:18:43 +08:00 |
|
John Guo
|
bdf23ef48f
|
fix issue of error code lost in middleware handling for package ghttp
|
2020-12-30 12:56:24 +08:00 |
|
jflyfox
|
05703ec3d7
|
improve ghttp.RouterGroup.ALLMap
|
2020-12-29 13:39:40 +08:00 |
|
John Guo
|
7c52a6f9f6
|
ass SetCtx for ghttp.Request
|
2020-12-18 22:57:08 +08:00 |
|
John Guo
|
446f8e7110
|
comment update
|
2020-12-16 01:15:22 +08:00 |
|
John Guo
|
9a6aa01115
|
constant name changes; version update
|
2020-12-15 20:16:17 +08:00 |
|
John Guo
|
4a88e0255d
|
improve shutdown feature for ghttp.Server
|
2020-12-15 19:24:38 +08:00 |
|
jflyfox
|
a2e7aec37f
|
change constant variable names
|
2020-12-14 13:26:48 +08:00 |
|
John Guo
|
688e327f15
|
improve unit testing case for package ghttp
|
2020-12-10 23:38:59 +08:00 |
|
John Guo
|
84fef8dea3
|
add error code feature for package gerror
|
2020-12-10 23:33:24 +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 |
|
Jack
|
0bc8944a08
|
change ghttp.NewClient to g.Client
|
2020-11-25 16:40:45 +08:00 |
|
Jack
|
33292f54e0
|
improve status handler by supporting multiple status handler for package ghttp
|
2020-11-25 16:37:41 +08:00 |
|
Jack
|
fc215ef0b2
|
add function ghttp.RouterGroup.ALLMap
|
2020-11-24 21:19:01 +08:00 |
|
Jack
|
65c67427d4
|
compatible with Case of https://github.com/pkg/errors
|
2020-11-23 16:32:57 +08:00 |
|
John
|
8ca535dbf0
|
fix issue in session cookie feature
|
2020-11-21 11:18:21 +08:00 |
|
Jack
|
baf51bc68f
|
merge develop
|
2020-11-18 10:57:14 +08:00 |
|
John
|
d56eb49e41
|
improve performance for gconv.Struct/Structs using directly reflect set
|
2020-11-15 15:13:40 +08:00 |
|
John
|
8f278be0dc
|
improve build-in varables for view of ghttp
|
2020-11-14 10:24:06 +08:00 |
|
John
|
943116d495
|
appaned parameters to url if http method is GET for ghttp.Client
|
2020-11-12 20:09:05 +08:00 |
|
John
|
638773b216
|
improve client dump for package ghttp
|
2020-11-12 18:57:18 +08:00 |
|
John
|
11e102e137
|
fix issue in internal/structs.MapField
|
2020-11-08 16:21:09 +08:00 |
|
John
|
e06b62ecf2
|
add default value from struct tag for ghttp.Request
|
2020-11-08 15:44:04 +08:00 |
|
John
|
cee67a8d4e
|
improve urlencoding handling for parameters posted along with file uploading
|
2020-10-26 20:21:09 +08:00 |
|
Jack
|
9c3b978b50
|
improve package ghttp and internal/structs
|
2020-10-22 15:16:31 +08:00 |
|
Jack
|
77f7884604
|
add function gutil.Try/g.Try;improve error string for gconv.Struct
|
2020-10-20 13:36:43 +08:00 |
|
John
|
0a203d1e22
|
fix issue in struct converting for ghttp.Request
|
2020-10-19 11:29:41 +08:00 |
|
yuancjun
|
0b0141954b
|
Update ghttp_server_config.go
|
2020-10-15 18:04:32 +08:00 |
|
John
|
82b531fbfb
|
add domain support for domain of ghttp.Server
|
2020-10-14 21:18:11 +08:00 |
|
John
|
67fb626339
|
add configuration SessionCookieOutput for ghttp.Server
|
2020-10-14 20:52:26 +08:00 |
|
John
|
9044d5f05d
|
fix issue in custom session id lost for ghttp.Request
|
2020-10-13 20:34:31 +08:00 |
|
John
|
47663aa1f1
|
fix issue of EOF in ghttp.Request when no data posted using form-data
|
2020-10-13 20:12:54 +08:00 |
|
John
|
849874a247
|
improve adapter definition for package gcache
|
2020-10-09 20:59:49 +08:00 |
|