Commit Graph

718 Commits

Author SHA1 Message Date
John
dc29822e69 improve gtcp; add tls support for gtcp 2019-06-04 23:33:46 +08:00
John
00a8ef63b6 improve gtcp 2019-06-03 23:53:59 +08:00
John
3a99c6e5f5 improve TryCatch function for gutil 2019-06-03 20:58:30 +08:00
John
e4f9e1000d fix issue in status handler for ghttp.Server 2019-06-03 16:39:45 +08:00
John
75dcc566b3 improve grpool to ensure atomicity for function Add 2019-06-03 09:09:40 +08:00
John
79f765c961 update example for gconv 2019-06-02 16:34:31 +08:00
John
d62ef17290 improve glog 2019-06-01 22:36:12 +08:00
John
35d860427e add GetLastSql function for gdb 2019-06-01 20:31:29 +08:00
John
9206574bae add json tag most priority for gjson.New 2019-06-01 20:01:45 +08:00
John
d67b95c593 add async logging feature for glog 2019-06-01 19:34:03 +08:00
John
2bf2f1b822 improve grpool 2019-06-01 15:11:32 +08:00
John
9ad94eccad add json output support for glog 2019-06-01 11:01:57 +08:00
John
6e8a900f25 fix issue in gjson/gparser in loading xml content; add *time.Time support for gdb 2019-06-01 00:02:05 +08:00
John
d9aa9e4480 improve grpool 2019-05-31 22:54:57 +08:00
John
7335126064 mark deprecated for *fln functions of glog; fix issue in gfile.MainPkgPath in Windows 2019-05-29 15:18:12 +08:00
John
7034e2015e add FormatTo/LayoutTo functions for gtime; use custom ExpireFunc to close poool items when pool is close for gpool 2019-05-29 11:25:11 +08:00
John
3575e20137 update Writer feature of glog 2019-05-23 20:34:06 +08:00
John
f69f529258 Merge branch 'master' into develop 2019-05-23 19:14:19 +08:00
John
3e7416ca7d add Skip for glog 2019-05-23 19:14:16 +08:00
John
9da883a50c comment updates 2019-05-23 11:49:33 +08:00
John
ea3e03aaba example updates for glog 2019-05-23 09:26:37 +08:00
John
0839ea385f refract glog to improve performance; 2019-05-21 23:57:03 +08:00
John
68fa235412 add gjson.GetJsonMap; refract glog to improve performance; 2019-05-21 21:52:17 +08:00
John
b92b69564b improve gfile.MainPkgPath 2019-05-16 23:41:09 +08:00
John
75725db6fb remove gmlock for print of glog; add time.Time support for gdb 2019-05-15 23:53:48 +08:00
John
5cd8475143 add time.Time support for convertParam function of gdb 2019-05-15 16:47:39 +08:00
John
c0b46f364a version updates 2019-05-14 22:02:09 +08:00
John
8c5f74e8bb add DoVar/ReceiveVar function for gredis 2019-05-14 21:34:38 +08:00
John
f3f0689bd4 rename LinkMap to ListMap for gmap 2019-05-13 22:26:39 +08:00
John
4e2e4e95e0 add gmap.HashMap/TreeMap/AnyAnyMap for gmap; add unit test cases for TreeMap 2019-05-11 20:47:25 +08:00
John
664b0c06a6 gjson updates 2019-05-11 17:56:14 +08:00
John
bd4c75a98e add AVLTree container for gtee 2019-05-10 22:29:06 +08:00
John
d35840409b add BTree container for gtree package 2019-05-10 21:31:35 +08:00
John
abaef9ba87 add gtree.RedBlackTree container 2019-05-10 13:38:06 +08:00
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John
66e40155a9 add http/https scheme for log of ghttp.Server; add transport setting to ignore tls cert for ghttp.Client; version updates 2019-05-06 09:35:39 +08:00
John
59ad1a9b00 fix issue in incorrect every running logics of gcron.AddOnce 2019-05-05 22:57:13 +08:00
John
87e3813636 remove go-sql-driver-mysql from third, add Register function to manually register 'mysql' driver 2019-05-04 00:10:02 +08:00
John
2bb227d058 update gtcp exxamples 2019-05-03 15:47:25 +08:00
John
99dc69e839 update gtcp exxamples 2019-05-03 13:28:27 +08:00
John
c9537af062 add package feature for gudp; gtcp updates 2019-04-29 23:54:47 +08:00
John
7ae03729f3 add package support for gtcp 2019-04-28 23:55:23 +08:00
John
66306464e1 add Pop/Pops functions for gset 2019-04-26 08:57:48 +08:00
John
dd34ac1722 add build-in function 'eq/ne/lt/le/gt/ge' for gview to replace the same functions in stdlib 2019-04-25 23:23:24 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +08:00
John
f464dc7fb8 add NewFrom/NewIntSetFrom/NewStringSetFrom functions for gset; add more example for gset 2019-04-24 18:52:24 +08:00
John
d29b27a5df add Merge/Sum functions for gset 2019-04-24 18:15:50 +08:00
John
9eea93cc6e change param type from string to interface{} for ghttp.ClientRequest 2019-04-23 20:12:44 +08:00
John
75ada78f8f remove parameter bind from ghttp.RouterGroup.Bind 2019-04-23 19:39:35 +08:00
John
ecd86e3a12 add layout example for package gview 2019-04-23 19:11:38 +08:00
John
5ff7632d32 add support of layout feature for gview; fix issue in gstr.Chr 2019-04-22 15:47:59 +08:00
John
dbb27efe3e rename io to writer for glog.Logger 2019-04-18 09:11:14 +08:00
John
2d3d2e783e add default writer for glog to be integrated with other package; comments update for glog 2019-04-17 23:50:37 +08:00
John
9419555149 add BindFuncMap funtion for gview; README updates 2019-04-17 09:46:31 +08:00
John
2f7d4cd80d fix issue in Add function for gtype.Float32/Float64 2019-04-15 22:55:12 +08:00
John
119a11eb8d README updates 2019-04-11 23:07:22 +08:00
John
9ec15ad2ca fix issue in repeated rand value of grand.Intn 2019-04-10 18:33:12 +08:00
John
85c2ed1bf2 improve nil checks for gtest.Assert* 2019-04-09 23:12:22 +08:00
John
8b3eb5b02d version&release updates 2019-04-09 00:15:48 +08:00
John
68949b69bc update example of gtime 2019-04-05 23:31:14 +08:00
John
c56c77d3a1 fix issue in G&j char format 2019-04-05 23:13:47 +08:00
John
dc82ce395a comment updates for gcfg 2019-04-05 00:23:59 +08:00
John
aa4dca11f0 fix issue in gtime; update comment for g/gtest 2019-04-04 22:52:56 +08:00
John
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
John
630d8fdb43 add Instance function for gcfg 2019-04-03 09:59:15 +08:00
John
c4c7e6caf4 gofmt 2019-04-03 00:03:46 +08:00
John
07476a4349 add instance management feature for gdb/gredis; add customized configuration content management feature for gcfg; update gjson for data content type check 2019-04-02 14:37:46 +08:00
John
a3886c2179 fix issue in RemoteAddr of gudp.Conn 2019-03-31 20:58:31 +08:00
John
f258b5bf1c change logging level from error to debug in route regitsry for struct for ghttp package; handle possible overrange usage of r.URL.Path in ghttp.Server 2019-03-31 20:52:30 +08:00
John
22fa7a37f3 add UseNumber support for gjson; add more unit test cases for gjson 2019-03-28 17:51:05 +08:00
John
6a58bfc574 add stdout printing support for ghttp.Server logging 2019-03-28 09:34:16 +08:00
John
83db8e4b15 add wss example for websocket 2019-03-22 17:26:39 +08:00
John
9bc49c0b29 add logging for error in ghttp.Request 2019-03-22 14:31:02 +08:00
John
8e84e5b0f3 update comment of gredis 2019-03-22 11:22:03 +08:00
John
a42e6b0c45 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:43 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
62580b5719 add examples for gredis 2019-03-21 23:51:57 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
c9d2d5e8ab add configuration support for maxIdle/maxActive/idleTimeout/maxConnLifetime of gredis; update gjson.Append/Len functions; add more unit test cases for gredis/gins/gstr/gjson 2019-03-21 00:14:23 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
5a82d695c1 mv greuseport to a new repo 2019-03-18 13:56:16 +08:00
John
64a0427150 travis updates 2019-03-18 13:34:51 +08:00
John
cb8362d447 update unit test cases of package gins 2019-03-14 23:28:56 +08:00
John
6171c621a7 fix issue in missing customed error messages in package gvalid 2019-03-11 22:33:20 +08:00
John
5db039bbce gdb.Model updates, rename Alterable function to Safe, change gdb.Model alterable in default, update Where function to support more cases when using map as its param, add more unit test cases for gdb.Model 2019-03-11 16:14:55 +08:00
John
22a7ef43ce Merge branch 'master' into develop 2019-03-08 00:21:52 +08:00
John
2ba59e8943 fix issue in gtime convert in package gconv; add Structs/Scan functions for gdb.Model; add GetStructs/GetScan functions for gdb.Base and gdb.TX 2019-03-07 23:36:45 +08:00
John
83be1de04c remove error returns from router registry functions of WebServer; add more unit test cases for WebServer 2019-03-06 15:21:00 +08:00
John
5d874e9063 add example code for gconv.Map; comment updates of gdb 2019-03-05 17:52:34 +08:00
John
975da97b4a fix issue in empty check for nil attribute of struct in package 'empty';add set-cookie support for 302 status in ghttp.Server 2019-03-05 17:06:37 +08:00
John
13749feab4 add json features '-' and 'omitempty' for gconv.Map, like package 'json' from stdlib; add internal package 'empty', to check empty variable 2019-03-04 22:59:29 +08:00
John
c1e77b7e09 update example of gtcp 2019-03-03 20:40:36 +08:00
John
962a5e93f7 update example of gtcp 2019-03-03 20:20:31 +08:00
John
f92c1fc527 update CORS feature of ghttp.Response; add more unit cases for ghttp.Server 2019-03-01 23:45:55 +08:00
John
66287c2d0e update the admin feature and unit test cases of ghttp 2019-02-28 23:57:20 +08:00
John
fa256aec9f add example for layout using template engine; fix issue with config error output in gview when no config used 2019-02-27 22:53:39 +08:00
John
3e0a975a88 fix issue in gcron, allow special char '?' for day and week pattern 2019-02-20 16:24:05 +08:00
John
9797701881 remove Search/InArray functions from gstr package; update custom http status handling logics of web server 2019-02-18 16:12:59 +08:00
John
cfdeb87093 gfile updates 2019-02-15 21:30:35 +08:00