Commit Graph

572 Commits

Author SHA1 Message Date
yuzhan
072d5f9760 make options public 2022-03-02 09:56:58 +08:00
于湛
d045b4d2f5 make unit test compatible with go 1.15 2022-01-07 18:52:21 +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
John Guo
09f9d1cb7a improve package gcmd 2022-01-01 00:18:50 +08:00
John Guo
fab17f89c4 fix issue in ut for package gsha1/gclient/ghttp/gregex 2021-12-23 00:34:02 +08:00
John Guo
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
b9bb1ecd46 Merge branch 'master' of https://github.com/gogf/gf into feature/v2-gerror 2021-12-22 22:29:02 +08:00
John Guo
cafd9098d7 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-22 22:22:42 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
houseme
25bdf10cc8 feat:improve tracing 2021-12-19 00:44:31 +08:00
houseme
02c6deaec8 feat:modify trace-ID to TraceID 2021-12-19 00:18:18 +08:00
John Guo
29a996e70e add Trace-Id response header for package ghttp 2021-12-18 21:54:12 +08:00
John Guo
4978955404 fix issue in missing handler name for standard router handlers 2021-12-18 18:25:04 +08:00
John Guo
77422f71f7 add fnction MustSet/MusetSetMap for package gsession 2021-12-18 14:10:55 +08:00
John Guo
40225c5352 improve route dump for package ghttp;remove mutex for package gtag 2021-12-18 12:54:09 +08:00
John Guo
ad48dc025b improve route dump for package ghttp 2021-12-18 12:43:33 +08:00
John Guo
1215f67aac improve route dump for package ghttp 2021-12-18 12:36:34 +08:00
John Guo
656d1bbbd6 improve content type response for ghttp.Server 2021-12-17 17:42:18 +08:00
John Guo
b9d6ac26d1 rename cache function from func() (interface{}, error) to func(ctx context.Context) (value interface{}, err error) for package gcache; add cache for function Tables of gdb.Core; improve Where condition with prefix handling for package gdb 2021-12-17 11:46:05 +08:00
John Guo
f583f28953 rename SetTraceID to WithTraceID for package gtrace 2021-12-17 01:27:24 +08:00
John Guo
b6d60fc209 downgrade otel version to v1.0.0 2021-12-17 00:55:48 +08:00
John Guo
8f24dc3549 add SetTraceID for package gtrace 2021-12-17 00:06:38 +08:00
John Guo
fa45715416 go fmt for go 1.17 2021-12-16 23:26:41 +08:00
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00
John Guo
34e7913268 add internal logging for package gtrace 2021-12-10 23:26:53 +08:00
John Guo
39bbca2a50 add stack filter of goframe module path for logging content 2021-12-10 18:52:35 +08:00
John Guo
3f24159636 add tracing configuration switch for whole framework 2021-12-10 18:08:36 +08:00
John Guo
dacc19ac98
Merge pull request #1508 from Hades300/GetRemoteIp-IPv6Fix
ghttp_request.go GetRemoteIp ipv6 fix
2021-12-05 21:59:20 +08:00
John Guo
8de176d73f move package /net/ghttp/internal/client as /net/gclient 2021-12-03 23:32:00 +08:00
John Guo
afc3367f31 auto enable dump feature for ghttp.Client 2021-12-03 17:49:26 +08:00
hades300
e2fbce0420 ghttp_request.go GetRemoteIp ipv6 fix 2021-12-03 16:07:04 +08:00
John Guo
b840405af6 improve error logging format for ghttp.Server 2021-12-02 21:22:02 +08:00
houseme
5ed5adc6df feat:add trace db.statement、host.name 2021-12-02 18:54:56 +08:00
John Guo
35cf228d83 add AdapterRedis for package gcache 2021-11-27 01:10:00 +08:00
John Guo
9105590c69 improve chaining feature for ghttp.Client 2021-11-25 16:23:18 +08:00
John Guo
7b22355abb expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature 2021-11-24 16:17:50 +08:00
John Guo
9748b9f70b improve association feature for package gvalid 2021-11-23 10:42:43 +08:00
John Guo
cea6e4c3d9 improve package gvalid 2021-11-22 22:43:09 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
John Guo
6ad7baeb2c remove gsmtp 2021-11-16 23:39:45 +08:00
houseme
bb4f72d1ec improve code Introduce according to grouping 2021-11-16 19:43:02 +08:00
houseme
e86ee052cb improve code import 2021-11-16 19:29:02 +08:00
houseme
ff8633231f improve code 'if block ends with a return statement, so drop this else and outdent its block (golint)' 2021-11-16 00:26:10 +08:00
houseme
8ddab7f0cc
Merge branch 'gogf:master' into master 2021-11-14 22:50:53 +08:00
John Guo
e23704d694 improve package gvalid by adding extra internal variable for error message template, changing :xxx varibale name to {xxx} format 2021-11-14 21:00:34 +08:00
houseme
e4ddeb6033 Improved import, by group improt. 2021-11-14 18:24:38 +08:00
John Guo
1a7450b9e9 v2.0.0-beta 2021-11-14 11:36:59 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
748040fb0b improve group router for package ghttp 2021-11-07 21:31:33 +08:00