serverConfig

package
Version: v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

type TGameconfig

type TGameconfig struct {
	Id         int32
	No         string
	Listenaddr string
	Zone       string
	Pprofaddr  string
	Name       string
}

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 TInnergwconfig struct {
	Id          int32
	Connectaddr string
	Listenaddr  string
	Zone        string
	No          string
	Pprofaddr   string
	Name        string
}

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 TLoginconfig struct {
	Id         int32
	No         string
	Listenaddr string
	Zone       string
	Pprofaddr  string
	Name       string
}

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"`
	Shareusername string `json:"ShareUserName"`
	Host          string `json:"Host"`
	Sharehost     string `json:"ShareHost"`
	Sharepasswd   string `json:"SharePasswd"`
	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 TNetFilter struct {
	Id    int32
	White string
	Black string
}

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"`
	Shareconnaddr string `json:"ShareConnAddr"`
	Passwd        string `json:"Passwd"`
	Sharedbindex  int32  `json:"ShareDBIndex"`
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL