24 lines
338 B
Go
24 lines
338 B
Go
package mt
|
|
|
|
import (
|
|
"f5"
|
|
"mtb"
|
|
)
|
|
|
|
type Config struct {
|
|
mtb.Config
|
|
}
|
|
|
|
type ConfigTable struct {
|
|
f5.IdMetaTable[Config]
|
|
selfConf *Config
|
|
}
|
|
|
|
func (this *ConfigTable) GetGameApiUrl() string {
|
|
return this.selfConf.GetGameapiUrl()
|
|
}
|
|
|
|
func (this *ConfigTable) GetSessionExpireTime() int32 {
|
|
return this.selfConf.GetSessionExpireTime()
|
|
}
|