Documentation
¶
Index ¶
- Variables
- func LoadSvrAllConfig(CfgPath string)
- type TExternalgwconfigBase
- type TExternalgwconfigConfig
- type TGameconfig
- type TGameconfigBase
- type TGameconfigConfig
- type TInnergwconfig
- type TInnergwconfigBase
- type TInnergwconfigConfig
- type TLoginconfig
- type TLoginconfigBase
- type TLoginconfigConfig
- type TMgoconfigBase
- type TMgoconfigConfig
- type TNetFilter
- type TNetFilterBase
- type TNetFilterConfig
- type TRedisconfigBase
- type TRedisconfigConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SvrPath string
)
Functions ¶
func LoadSvrAllConfig ¶
func LoadSvrAllConfig(CfgPath string)
Types ¶
type TExternalgwconfigBase ¶
type TExternalgwconfigBase struct {
Id int32 `json:"id"`
Listenaddr string `json:"ListenAddr"`
Pprofaddr string `json:"PProfAddr"`
Name string
}
export from ExternalGWConfig.json by tool.
type TExternalgwconfigConfig ¶
type TExternalgwconfigConfig struct {
// contains filtered or unexported fields
}
var (
GExternalgwconfigConfig *TExternalgwconfigConfig = &TExternalgwconfigConfig{}
)
func (*TExternalgwconfigConfig) ComfireAct ¶
func (this *TExternalgwconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TExternalgwconfigConfig) DataRWAct ¶
func (this *TExternalgwconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TExternalgwconfigConfig) Get ¶
func (this *TExternalgwconfigConfig) Get() *TExternalgwconfigBase
type TGameconfig ¶
type TGameconfigBase ¶
type TGameconfigBase struct {
Id int32 `json:"id"`
No int32 `json:"No"`
Listenaddr string `json:"ListenAddr"`
Zone string `json:"Zone"`
Pprofaddr string `json:"PProfAddr"`
}
export from gameConfig.json by tool.
type TGameconfigConfig ¶
type TGameconfigConfig struct {
// contains filtered or unexported fields
}
var (
GGameconfigConfig *TGameconfigConfig = &TGameconfigConfig{}
)
func (*TGameconfigConfig) ComfireAct ¶
func (this *TGameconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TGameconfigConfig) DataRWAct ¶
func (this *TGameconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TGameconfigConfig) Get ¶
func (this *TGameconfigConfig) Get() *TGameconfig
type TInnergwconfig ¶
type TInnergwconfigBase ¶
type TInnergwconfigBase struct {
Id int32 `json:"id"`
Connectaddr string `json:"ConnectAddr"`
Listenaddr string `json:"ListenAddr"`
Zone string `json:"Zone"`
No int32 `json:"No"`
Pprofaddr string `json:"PProfAddr"`
}
export from InnerGWConfig.json by tool.
type TInnergwconfigConfig ¶
type TInnergwconfigConfig struct {
// contains filtered or unexported fields
}
var (
GInnergwconfigConfig *TInnergwconfigConfig = &TInnergwconfigConfig{}
)
func (*TInnergwconfigConfig) ComfireAct ¶
func (this *TInnergwconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TInnergwconfigConfig) DataRWAct ¶
func (this *TInnergwconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TInnergwconfigConfig) Get ¶
func (this *TInnergwconfigConfig) Get() *TInnergwconfig
type TLoginconfig ¶
type TLoginconfigBase ¶
type TLoginconfigBase struct {
Id int32 `json:"id"`
No int32 `json:"No"`
Listenaddr string `json:"ListenAddr"`
Zone string `json:"Zone"`
Pprofaddr string `json:"PProfAddr"`
}
export from LoginConfig.json by tool.
type TLoginconfigConfig ¶
type TLoginconfigConfig struct {
// contains filtered or unexported fields
}
var (
GLoginconfigConfig *TLoginconfigConfig = &TLoginconfigConfig{}
)
func (*TLoginconfigConfig) ComfireAct ¶
func (this *TLoginconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TLoginconfigConfig) DataRWAct ¶
func (this *TLoginconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TLoginconfigConfig) Get ¶
func (this *TLoginconfigConfig) Get() *TLoginconfig
type TMgoconfigBase ¶
type TMgoconfigBase struct {
Id int32 `json:"id"`
Passwd string `json:"Passwd"`
Username string `json:"UserName"`
Host string `json:"Host"`
Pprofaddr string `json:"PProfAddr"`
Name string
}
export from mgoconfig.json by tool.
type TMgoconfigConfig ¶
type TMgoconfigConfig struct {
// contains filtered or unexported fields
}
var (
GMgoconfigConfig *TMgoconfigConfig = &TMgoconfigConfig{}
)
func (*TMgoconfigConfig) ComfireAct ¶
func (this *TMgoconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TMgoconfigConfig) DataRWAct ¶
func (this *TMgoconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TMgoconfigConfig) Get ¶
func (this *TMgoconfigConfig) Get() *TMgoconfigBase
type TNetFilter ¶
type TNetFilterBase ¶
type TNetFilterBase struct {
Id int32 `json:"id"`
White string `json:"white"`
Black string `json:"black"`
}
export from NetFilter.json by tool.
type TNetFilterConfig ¶
type TNetFilterConfig struct {
// contains filtered or unexported fields
}
var (
GNetFilterConfig *TNetFilterConfig = &TNetFilterConfig{}
)
func (*TNetFilterConfig) ComfireAct ¶
func (this *TNetFilterConfig) ComfireAct(data interface{}) (errlist []string)
func (*TNetFilterConfig) DataRWAct ¶
func (this *TNetFilterConfig) DataRWAct(data interface{}) (errlist []string)
func (*TNetFilterConfig) Get ¶
func (this *TNetFilterConfig) Get() []*TNetFilter
type TRedisconfigBase ¶
type TRedisconfigBase struct {
Id int32 `json:"id"`
DBIndex int32 `json:"DBIndex"`
Connaddr string `json:"ConnAddr"`
Passwd string `json:"Passwd"`
Pprofaddr string `json:"PProfAddr"`
Name string
}
export from redisconfig.json by tool.
type TRedisconfigConfig ¶
type TRedisconfigConfig struct {
// contains filtered or unexported fields
}
var (
GRedisconfigConfig *TRedisconfigConfig = &TRedisconfigConfig{}
)
func (*TRedisconfigConfig) ComfireAct ¶
func (this *TRedisconfigConfig) ComfireAct(data interface{}) (errlist []string)
func (*TRedisconfigConfig) DataRWAct ¶
func (this *TRedisconfigConfig) DataRWAct(data interface{}) (errlist []string)
func (*TRedisconfigConfig) Get ¶
func (this *TRedisconfigConfig) Get() *TRedisconfigBase
Click to show internal directories.
Click to hide internal directories.