Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitServerConfig ¶
func InitServerConfig(configFrom SerializationConfig)
func K8sNameSpaces ¶
func K8sNameSpaces() string
func SetConfig ¶
func SetConfig(config IServerConfig)
Types ¶
type DefaultConfig ¶
type DefaultConfig struct {
GameRunTime SGameRunTime `json:"gameRunTime"`
}
func (*DefaultConfig) GetGameFrameTime ¶
func (c *DefaultConfig) GetGameFrameTime() time.Duration
type IServerConfig ¶
func GetGlobalConfig ¶
func GetGlobalConfig() IServerConfig
type RedisConfig ¶
type SGameRunTime ¶
type SerializationConfig ¶
type SerializationConfig func() IServerConfig
Click to show internal directories.
Click to hide internal directories.