John Guo
|
b129ee3f04
|
fix issue in unit testing case for package ghttp
|
2021-08-24 21:35:49 +08:00 |
|
John Guo
|
abc8e62d58
|
add package gcode and improve error implements for package gerror
|
2021-08-24 21:18:59 +08:00 |
|
John
|
ef36cf8446
|
fix issue in example of package gjson
|
2021-08-20 23:15:48 +08:00 |
|
John Guo
|
a0ef6fce81
|
add bacth registering function Map for package ghttp
|
2021-08-19 20:59:08 +08:00 |
|
John Guo
|
f03f56ba4e
|
improve gconv.Struct for map attribute converting
|
2021-08-19 11:28:25 +08:00 |
|
John Guo
|
db621e38d9
|
improve ServeFile/ServeFileDownload for package ghttp
|
2021-08-16 20:30:58 +08:00 |
|
John Guo
|
7b9888c004
|
add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model
|
2021-08-12 19:42:44 +08:00 |
|
John Guo
|
ef50eb6d6b
|
comment update for package ghttp
|
2021-08-09 19:16:37 +08:00 |
|
John Guo
|
fc1dfb7ff9
|
comment update;standardize const naming for package gtcp/gudp
|
2021-08-08 13:10:21 +08:00 |
|
John Guo
|
dc407bf293
|
merge develop
|
2021-08-07 12:04:31 +08:00 |
|
John Guo
|
cd3593182a
|
improve package gerror/ghttp for error code handling
|
2021-08-07 10:44:57 +08:00 |
|
John Guo
|
75ca866991
|
fix issue in ghttp.Server
|
2021-08-05 19:15:18 +08:00 |
|
John Guo
|
4c54b1cfbc
|
improve errcode feature for package gerror
|
2021-08-04 20:50:45 +08:00 |
|
John Guo
|
5a4de52900
|
fix invalid separator char in packing with prefix folder string in OS widnows for package gres
|
2021-08-02 19:58:04 +08:00 |
|
John Guo
|
ff70e54e3e
|
fix unit testing case for package gtrace
|
2021-08-02 09:50:44 +08:00 |
|
jflyfox
|
bb57dc1ae7
|
improve request context feature for package ghttp
|
2021-08-01 09:17:37 +08:00 |
|
jflyfox
|
5a6c2c27df
|
inject Request object into context
|
2021-07-30 17:17:13 +08:00 |
|
jflyfox
|
4267aadd78
|
remove controller feature from package ghttp
|
2021-07-30 15:15:44 +08:00 |
|
John Guo
|
0ddacdd7e2
|
add error code for components
|
2021-07-20 23:02:02 +08:00 |
|
John Guo
|
f72d991c36
|
rename attribute names from lower-camel case to upper-camel case
|
2021-07-19 20:06:44 +08:00 |
|
John Guo
|
0140808460
|
add handler extension feature for package ghttp
|
2021-07-13 23:01:31 +08:00 |
|
John Guo
|
7e2605188d
|
improve session variable map in template parsing
|
2021-07-06 09:58:25 +08:00 |
|
John Guo
|
e5ae1cb85c
|
improve session variable map in template parsing
|
2021-07-06 09:53:35 +08:00 |
|
John Guo
|
c42a9d6e50
|
Merge pull request #1316 from qinyuguang/otel
Otel
|
2021-06-29 13:05:38 +08:00 |
|
qinyuguang
|
083e32fd9e
|
otel version bump to v1.0.0-RC1
|
2021-06-28 13:36:37 +08:00 |
|
John Guo
|
d109706ad3
|
unify error package to gerror
|
2021-06-26 18:34:26 +08:00 |
|
John Guo
|
859ea150ed
|
rename constants of package gpage from skake to upper camel case
|
2021-06-26 17:00:32 +08:00 |
|
John Guo
|
91ca79b300
|
add context for intlog
|
2021-06-26 16:51:26 +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
|
c25f88293b
|
unify command or enviroment key names for packages
|
2021-06-26 12:08:18 +08:00 |
|
John Guo
|
237f172ae5
|
add file configuration support for logger in ghttp.Server
|
2021-06-26 11:18:44 +08:00 |
|
John Guo
|
e6688b9e86
|
add more unit testing cases for package ghttp
|
2021-06-23 21:39:12 +08:00 |
|
John Guo
|
742c7913ea
|
fix issue in function Parse for package ghttp
|
2021-06-02 21:12:27 +08:00 |
|
John Guo
|
ea0340db8e
|
improve validation manager feature for package gvalid
|
2021-05-19 09:25:49 +08:00 |
|
John Guo
|
2b942bf06b
|
Merge pull request #1247 from notnear/master
add websocket client
|
2021-05-17 13:52:39 +08:00 |
|
John Guo
|
7003c284d0
|
replace json.Unmarshal with json.UnmarshalUseNumber for packages
|
2021-05-15 22:38:07 +08:00 |
|
John Guo
|
d76e4c8aed
|
refract package gtimer for more stable
|
2021-05-15 18:13:51 +08:00 |
|
John Guo
|
cc1224e032
|
add context for package gvalid.Check* functions
|
2021-05-13 20:56:52 +08:00 |
|
tom
|
09de115670
|
add websocket client
|
2021-05-13 17:51:06 +08:00 |
|
John Guo
|
a326f4a989
|
improve package gi18n/gview/gvalid for more flexable i18n feature controll,add custom error configuration and i18n translation for custom error message
|
2021-05-13 00:16:45 +08:00 |
|
John Guo
|
b06580d343
|
improve struct validation for package gvalid
|
2021-05-12 00:01:52 +08:00 |
|
John Guo
|
5856f74d83
|
up
|
2021-05-02 08:10:35 +08:00 |
|
John Guo
|
563509c4a6
|
route map dumping updates
|
2021-05-01 09:04:16 +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
|
78027d2ec6
|
deprecated comments update
|
2021-03-30 13:43:08 +08:00 |
|
John Guo
|
ae5ecb5bfa
|
update unit testing case for package gtrace
|
2021-03-29 16:12:14 +08:00 |
|
John Guo
|
6f1340ce36
|
upgrade otel from v0.18.0 to v0.19.0
|
2021-03-29 16:00:56 +08:00 |
|
jianchenma
|
958b109a12
|
fix removing cookie issue
|
2021-03-19 19:16:21 +08:00 |
|
jianchenma
|
9ed8d8c113
|
rename max content log size name for gtrace from maxlogsize to maxcontentlogsize
|
2021-03-18 11:22:44 +08:00 |
|
jianchenma
|
6a24b595f0
|
upgrade otel from 0.16.0 to 0.18.0
|
2021-03-18 10:39:23 +08:00 |
|
John Guo
|
d72d23c2eb
|
change browser mode from boolean markable variable to cookiejar for ghttp.Client
|
2021-03-11 18:58:13 +08:00 |
|
John Guo
|
4d32733790
|
improve ghttp.Client for #1179
|
2021-03-09 22:54:38 +08:00 |
|
John Guo
|
204fea395c
|
add struct object support in group router registering for package ghttp
|
2021-03-01 20:49:09 +08:00 |
|
John Guo
|
5db4bbc186
|
fix issue 1162
|
2021-02-24 01:07:09 +08:00 |
|
John Guo
|
2c34d96b9d
|
add tls configuration for ghttp.Client
|
2021-02-23 22:00:11 +08:00 |
|
jianchenma
|
6135085d61
|
improve package gtrace
|
2021-02-03 15:27:41 +08:00 |
|
jianchenma
|
40bdc76af1
|
improve package gtrace
|
2021-02-03 15:14:07 +08:00 |
|
John Guo
|
ce40d139e7
|
fix issue of nil response handling for ghttp.Client
|
2021-02-01 21:51:42 +08:00 |
|
John Guo
|
8368e11827
|
merge develop
|
2021-02-01 17:14:08 +08:00 |
|
John Guo
|
e6b4662ec2
|
improve tracing feature
|
2021-02-01 17:10:50 +08:00 |
|
John Guo
|
3e33d66ab4
|
fix issue https://github.com/gogf/gf/issues/1148
|
2021-01-30 23:05:02 +08:00 |
|
tangjoin
|
8bd24724e7
|
Update client_request.go
|
2021-01-30 22:10:06 +08:00 |
|
jianchenma
|
80248e9a6e
|
improve tracing
|
2021-01-28 14:09:13 +08:00 |
|
jianchenma
|
2734903886
|
tracing baggage
|
2021-01-28 13:51:23 +08:00 |
|
jianchenma
|
2451b40d3e
|
improve package gtrace
|
2021-01-28 13:11:09 +08:00 |
|
jianchenma
|
9fb6227461
|
fix issue in signal handler for windows
|
2021-01-28 10:08:52 +08:00 |
|
John Guo
|
6e4e1abf1e
|
improve tracing by adding constants for attribute and event names
|
2021-01-27 20:25:57 +08:00 |
|
John Guo
|
2c15aad0e7
|
add common tracing labels
|
2021-01-27 19:50:32 +08:00 |
|
John Guo
|
152c472bc2
|
add common tracing labels
|
2021-01-27 19:24:04 +08:00 |
|
John Guo
|
8f6f17c341
|
add common tracing labels
|
2021-01-27 19:15:14 +08:00 |
|
jianchenma
|
f2fe084988
|
improve tracing feature
|
2021-01-27 13:28:12 +08:00 |
|
John Guo
|
9cc5d7a691
|
improve package gdebug/gfile
|
2021-01-27 00:20:23 +08:00 |
|
jianchenma
|
c72c7dbe9a
|
improve tracing feature
|
2021-01-26 16:06:20 +08:00 |
|
jianchenma
|
4c6d9f5eff
|
improve tracing feture for package glog/gdb/gredis
|
2021-01-26 01:19:55 +08:00 |
|
jianchenma
|
cc1e340585
|
add tracing middleware for ghttp.Client/Server; add package gtrace
|
2021-01-25 18:43:47 +08:00 |
|
jianchenma
|
3f2ae3ba62
|
add tracing feature for ghttp.Client
|
2021-01-25 14:54:38 +08:00 |
|
jflyfox
|
c27ddb1d79
|
opentelemetry
|
2021-01-22 23:04:29 +08:00 |
|
John Guo
|
da0669c739
|
improve middleware feature for ghttp.Client
|
2021-01-22 01:06:44 +08:00 |
|
John Guo
|
5679972d8d
|
Merge pull request #1130 from eyasliu/develop-ghttp-middleware
New feature: ghttp client middleware
|
2021-01-22 00:36:57 +08:00 |
|
John Guo
|
0aca2f0501
|
fix issue in package g; improve package ghttp
|
2021-01-22 00:36:28 +08:00 |
|
John Guo
|
0fb32b63e7
|
add signal handler feature for package gproc; improve package ghttp/g for signal listening feature
|
2021-01-21 21:14:17 +08:00 |
|
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 |
|
eyasliu
|
7676837337
|
fix abort test
|
2021-01-17 18:05:29 +08:00 |
|
eyasliu
|
c5145dc4f6
|
remove abort, actually the abort is unuse
|
2021-01-17 17:26:53 +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 |
|
eyasliu
|
5b17108f71
|
trigger CI
|
2021-01-15 18:43:28 +08:00 |
|
eyasliu
|
1fee3eb5f0
|
fix review change
|
2021-01-15 13:58:16 +08:00 |
|
eyasliu
|
f9905f2bb5
|
gofmt code
|
2021-01-12 19:09:45 +08:00 |
|
eyasliu
|
c07c74bf1b
|
fix lint
|
2021-01-12 19:01:33 +08:00 |
|
eyasliu
|
14536e9abc
|
add http client middleware feature
|
2021-01-12 18:08:50 +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 |
|
John
|
1ec049c52f
|
improve gf server for routes check while starting
|
2020-09-17 23:27:10 +08:00 |
|
John
|
eb43a2040e
|
add ghttp.Client.RedirectLimit and gfile.ScanDirFileFunc
|
2020-09-09 22:26:46 +08:00 |
|
Jack
|
dd452c19ce
|
add example for custom uploading file name for ghttp.Server
|
2020-08-24 23:05:30 +08:00 |
|
Jack
|
b9211b182a
|
comment update for function ghttp.Request.
|
2020-08-15 12:35:56 +08:00 |
|
张以诺
|
f2e276eabd
|
add function Test_Params_Modify for ghttp_unit_param_test.go
|
2020-08-14 20:02:52 +08:00 |
|
张以诺
|
f6dbaba1f8
|
add function ReloadParam for ghttp_request.go
|
2020-08-14 18:34:43 +08:00 |
|
张以诺
|
65dcff052a
|
add function ReloadParam for ghttp_request.go
|
2020-08-14 18:19:48 +08:00 |
|
张以诺
|
e3861567c7
|
add function ReloadParam for ghttp_request.go
|
2020-08-14 16:22:37 +08:00 |
|
张以诺
|
e89a20c725
|
add ReloadParam func to ghttp_request.go
|
2020-08-14 15:19:56 +08:00 |
|
Jack
|
737af527cd
|
improve *Struct functions for ghttp.Request
|
2020-08-13 23:29:00 +08:00 |
|
Jack
|
820e4302b7
|
improve function *Struct for ghttp.Request
|
2020-08-13 18:51:59 +08:00 |
|