Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { AppId string ServiceType proto.ServiceType MapId int32 Port int32 Url string // 127.0.0.1:1234 MaxOnline int32 StartMs int64 // 开服时间 IsDevelop bool }
func GetInstance ¶
func GetInstance() *ServiceConfig
func NewServiceConfig ¶
func NewServiceConfig() *ServiceConfig
func (*ServiceConfig) ToGrpcData ¶
func (p *ServiceConfig) ToGrpcData(online int32) base_data.ServiceData
Click to show internal directories.
Click to hide internal directories.