douxu
0c09e7bd25
add func of generate service token
2025-09-12 17:12:02 +08:00
douxu
e670720a96
optimize query measurement api
2025-09-10 17:03:33 +08:00
douxu
55a606a3f3
add redis zset structure
2025-09-09 16:02:36 +08:00
douxu
3120cfc3a5
add code of init measurement api
2025-09-05 17:10:34 +08:00
douxu
727b9a98ec
add CL3611 and power104 proto code
2025-09-02 16:38:03 +08:00
douxu
3aab2c8a37
add telemetry machine code
2025-09-01 16:15:30 +08:00
douxu
37a1ccaadc
modify the query conditions to tagname and fix building bug
2025-08-29 15:24:21 +08:00
douxu
858d02f955
add attr handlers
2025-08-27 17:33:10 +08:00
douxu
349d3398b2
add TAGNAME column in table grid、zone、station
2025-08-26 17:09:49 +08:00
douxu
f8f83c38d9
add del func of redis string type
2025-08-21 17:04:10 +08:00
douxu
3fa0a8c6ca
optimize covert func of component info
2025-08-18 17:02:38 +08:00
douxu
f4ab4e4ea4
refactor(orm/circuit_diagram_component): fix compilation issues caused by structure field changes
...
http://server.baseware.net:9000/project/datart/task/47
2025-08-15 16:25:48 +08:00
douxu
f7a1ea2540
feat(Implement-measurement-and-bay-structure-by-go): Implement measurement and bay structure by go
...
http://server.baseware.net:9000/project/datart/us/38?milestone=13
2025-08-13 16:24:29 +08:00
douxu
49fbd04644
optimize component struct http://server.baseware.net:9000/project/datart/task/47
2025-08-12 17:19:38 +08:00
douxu
426409ed91
feat(redis-string-class): 1. data token parse 2. redis string get 3. redis string set 4. redis string incr
2025-08-08 15:27:51 +08:00
douxu
3e833909d1
feat(token-parse): 1. add func of parse token 2.add func of query grid、zone、station、component 3.modify package of constant
...
http://server.baseware.net:9000/project/datart/task/22
2025-08-05 15:20:07 +08:00
douxu
1b6211b34b
init attribute key struct
2025-07-31 16:52:21 +08:00
douxu
8520790989
merge feature-cgo branch
2025-07-31 10:48:56 +08:00
douxu
65e0c5da92
optimize modelRT routing structure
2025-07-31 10:31:26 +08:00
douxu
a70f77464c
refactor(gorm-logger): 1. add gorm logger in gorm config 2.use faced func in gorm logger
2025-06-23 16:00:48 +08:00
douxu
b7009c351e
refactor(errer-package): optimize package name of constant
...
1.optimize package name of constant
2025-06-13 15:34:49 +08:00
douxu
3fb78b8195
refactor(common/error): optimize error struct
...
add msg 、cause and occurred field into error struct for logging detail wrong info
2025-06-10 16:29:52 +08:00
douxu
f6cee44f84
refactor(handler): use logger package log func replace zap log func
2025-06-06 16:41:52 +08:00
douxu
9aa5b0dcc6
refactor(logger): 1. optimize the logger log module design and add link tracking related designs
...
2. add logger facade functions to simplify the use of alarm functions
2025-06-05 15:56:40 +08:00
douxu
d2196701ec
fix(multi-branch-tree-of-topologic): add global tree variable and fix topologic info processing bug
2025-05-20 16:08:17 +08:00
douxu
237c7ecf69
refactor(optimize storage struct): optimize topologic storage struct
...
1.optimize uuid start and end node of uuid nil node str
2.optimize topologic query sql of init topologic in memory
2025-05-16 14:24:55 +08:00
douxu
daf30766ba
refactor(topologic storage struct): refactor topologic storage struct
...
1.refactor topologic storage struct by multi branch tree
2.add new func of build multi branch tree
3.modify sql of query topologic from db
4.delete page id field from topologic struct
2025-05-13 16:34:25 +08:00
douxu
af0cfce78f
refactor(component set): add the return value of component query func
...
1.add the return value of topologic query func
refactor(diagram set): add the return value of topologic query func
1.add the return value of topologic query func
2.modify internalLockLeaseTime params unit
3.modify refreshTime params unit
4.modify lua script
feat(bay info): init interval information constructor
1.init interval information constructor
test(sql case): add new pg sql case
1. add new pg sql case
2025-04-30 16:44:58 +08:00
douxu
23110cbba9
refactor(locker params): modify the locker lease time unit
...
1.modify the locker lease time unit
2.modify internalLockLeaseTime params unit
3.modify refreshTime params unit
4.modify lua script
2025-04-18 15:17:51 +08:00
douxu
310f4c043c
refactor(locker params): optimize of redis locker params
...
1.optimize locker unexport params
2.optimize locker logging output
3.optimize locker init process
2025-04-18 14:02:03 +08:00
douxu
d27a9bbafa
refactor(locker script): optimize of redis locker script
...
1.optimize locker script of un read lock
fix(locker_refresh): fix bug of locker refresh
1.fix bug of locker refresh when locker lock success after wait
test(lock_case): add new redis locker case
1.add new redis locker case
2025-04-11 16:36:54 +08:00
douxu
fda43c65d2
optimize the subscription process of redis locker
2025-04-07 16:49:06 +08:00
douxu
e4d45016f2
fix bug of redis read and write lock conflict test of rwlocker
2025-04-03 17:22:40 +08:00
douxu
b27b999873
add redis read and write lock conflict test of rwlocker
2025-04-02 16:47:51 +08:00
douxu
ae064236c7
add redis lock refresh test of rwlocker
2025-04-01 16:20:55 +08:00
douxu
182f8ac634
add redis lock test of rwlocker
2025-03-28 16:48:56 +08:00
douxu
1cf6137f9f
refactor(redis hash): fix bug of redis hash
...
1.optimize RedisOption struct
fix(uuid): replace uuid mod dependencies
1.replace uuid mod dependencies
fix(config): add new redis config
1.add new redis config
2025-03-25 17:00:09 +08:00
douxu
2f1b9d26b8
feat(redis hash): fix bug of redis hash
...
1.add redis hash init func
2.replace redis model version in go mod
3.add context parameter in redis exec statement
feat(redis set): add new test of RLock and WLock
1.add redis set init func
2.replace redis model version in go mod
3.add context parameter in redis exec statement
fix(logger): add new test of RLock and WLock
1.add compress parameter
2.optimize initLogger function
2025-03-24 16:37:43 +08:00
douxu
25a55b94e8
fix bug of structure pointer func
2025-03-21 16:38:47 +08:00
douxu
3d79993de2
init redis hash and redis set struct with rwlocker
2025-03-21 16:21:33 +08:00
douxu
13809b6a31
add new test of RWLock
2025-03-17 17:19:46 +08:00
douxu
7b282c49f7
fix(lock script): fix bug of lock srcipt
...
1.fix bug of reset time wrong with ReentrantRLock in RLock script
2.fix bug of write lock failing to lock for the first time
3.fix bug of unlock failed with ReentrantWLock in UnWLock script
test(lock script): add new test of RLock and WLock
1.add refresh test of RLock
2.add new test of ReentrantWLock#
2025-03-13 16:51:50 +08:00
douxu
d962462c42
add rlock lock&unlock test and rlock reentrant test
2025-03-12 16:24:28 +08:00
douxu
9381e547b6
add ignore item in the .gitignore file
2025-03-11 15:53:53 +08:00
douxu
d404dc4335
fix bug of lock script and refresh script in redission rw lock
2025-03-11 15:35:15 +08:00
douxu
7e3d94db4b
optimize structer of redisLock and acquisition statements of lock
2025-03-07 16:16:26 +08:00
douxu
09225fc96f
optimize structer of redisRWLock and acquisition statements of write lock
2025-03-06 16:35:36 +08:00
douxu
c08f4b91f5
optimize read lock acquisition statements of redisRWLock
2025-03-05 16:42:59 +08:00
douxu
b894d61b54
init UnRLockScript 、WLockScript、UnWLockScript、RefreshLockScript script
2025-03-04 16:33:35 +08:00
douxu
2c2c2811a7
init read lock script of distributedlock
2025-02-28 16:00:16 +08:00