You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
657 B
38 lines
657 B
package model |
|
|
|
import ( |
|
"go-common/library/database/sql" |
|
) |
|
|
|
// SQLBusiness single table offset |
|
type SQLBusiness struct { |
|
Business string |
|
AppIds string |
|
AssetDB string |
|
AssetES string |
|
AssetDtb string |
|
} |
|
|
|
// Bsn single table offset |
|
type Bsn struct { |
|
Business string |
|
AppInfo []BsnAppInfo |
|
AssetDB map[string]*sql.Config |
|
AssetES []string |
|
//AssetDtb []AssetDtb |
|
} |
|
|
|
// BsnAppInfo . |
|
type BsnAppInfo struct { |
|
AppID string `json:"appid"` |
|
IncrWay string `json:"incr_way"` |
|
IncrOpen bool `json:"incr_open"` |
|
RecoverLock bool |
|
} |
|
|
|
// AssetDtb . |
|
// type AssetDtb struct { |
|
// dtb map[string]*databus.Config |
|
// size int |
|
// sleep int |
|
// }
|
|
|