16 lines
407 B
Go
16 lines
407 B
Go
package data
|
|
|
|
type ServerCfg struct {
|
|
Id string `json:"id"` //ID列,用于正式索引
|
|
Value1 string `json:"value1"` //觉醒类型,对应宁芙总表(格式制定由服务端指定)
|
|
Value2 string `json:"value2"` //觉醒类型,对应宁芙总表(格式制定由服务端指定)
|
|
}
|
|
|
|
func (data *ServerCfg) id() string {
|
|
return data.Id
|
|
}
|
|
|
|
type ServerCfgTable struct {
|
|
table[string, *ServerCfg]
|
|
}
|