Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectCenterInfo ¶
func InjectCenterInfo(s *CenterInfo)
func LoadCenterInfo ¶
func LoadCenterInfo() baseiface.ISingleton
Types ¶
type CenterInfo ¶
type CenterInfo struct { basedto.BaseEntity ServiceName string `json:"service_name"` Ip string `json:"ip"` Port int `json:"port"` }
func FindBeanCenterInfo ¶
func FindBeanCenterInfo() *CenterInfo
func NewCenterInfo ¶
func NewCenterInfo() *CenterInfo
func (*CenterInfo) From ¶
func (self *CenterInfo) From(str string)
func (*CenterInfo) FromResult ¶
func (self *CenterInfo) FromResult(result *basedto.IchubResult)
func (*CenterInfo) ToHostUrl ¶
func (self *CenterInfo) ToHostUrl() string
Click to show internal directories.
Click to hide internal directories.