This commit is contained in:
aozhiwei 2024-11-05 15:04:46 +08:00
parent 16d09aa707
commit ff9247b980

View File

@ -8,6 +8,7 @@ type table struct {
WheelServerCluster *WheelServerClusterTable WheelServerCluster *WheelServerClusterTable
Config *ConfigTable Config *ConfigTable
Web3ServiceCluster *Web3ServiceClusterTable Web3ServiceCluster *Web3ServiceClusterTable
WheelDbCluster *WheelDbTable
} }
var Table = f5.New(func(this *table) { var Table = f5.New(func(this *table) {
@ -25,4 +26,10 @@ var Table = f5.New(func(this *table) {
this.FileName = "../config/config.json" this.FileName = "../config/config.json"
this.PrimKey = "" this.PrimKey = ""
}) })
this.WheelDbCluster = f5.New(func(this *WheelDbTable) {
this.FileName = "../config/wheeldb.json"
this.PrimKey = ""
})
}) })