Documentation ¶
Index ¶
Constants ¶
const ( NAMESPACE_ORDER_TOPIC_CONFIG = "ORDER_TOPIC_CONFIG" // namesrv维护顺序Topic的命名空间 NAMESPACE_PROJECT_CONFIG = "PROJECT_CONFIG" // broker注册过程,传递正常Topic的命名空间 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamesrvConfig ¶
type NamesrvConfig struct {
// contains filtered or unexported fields
}
DefaultNamesrvConfig 默认Namesrv配置 Author: tianyuliang Since: 2017/9/8
func NewNamesrvConfig ¶
func NewNamesrvConfig() *NamesrvConfig
NewNamesrvConfig 初始化配置项 Author: tianyuliang Since: 2017/9/8
func (*NamesrvConfig) GetKvConfigDir ¶
func (self *NamesrvConfig) GetKvConfigDir() string
GetKvConfigDir 获取Namesrv配置文件完整路径 Author: tianyuliang Since: 2017/9/8
func (*NamesrvConfig) GetKvConfigName ¶
func (self *NamesrvConfig) GetKvConfigName() string
GetKvConfigName 获取Namesrv配置文件名 Author: tianyuliang Since: 2017/9/8
func (*NamesrvConfig) GetKvConfigPath ¶
func (self *NamesrvConfig) GetKvConfigPath() string
GetKvConfigPath 获取Namesrv配置文件的完整路径 Author: tianyuliang Since: 2017/9/8
func (*NamesrvConfig) GetSmartGoHome ¶
func (self *NamesrvConfig) GetSmartGoHome() string
GetSmartGoHome 获取SmartGoHome配置目录 Author: tianyuliang Since: 2017/9/6
func (*NamesrvConfig) ToString ¶
func (self *NamesrvConfig) ToString() string
ToString 打印Namesrv基础配置信息 Author: tianyuliang Since: 2017/9/8
type RegisterBrokerResult ¶
RegisterBrokerResult 注册broker返回结果 Author gaoyanlei Since 2017/8/23
func NewRegisterBrokerResult ¶
func NewRegisterBrokerResult(haServerAddr, masterAddr string) *RegisterBrokerResult
NewRegisterBrokerResult 初始化RegisterBrokerResult Author: tianyuliang Since: 2017/9/22
func (*RegisterBrokerResult) ToString ¶
func (self *RegisterBrokerResult) ToString() string
type TopAddressing ¶
type TopAddressing struct {
// contains filtered or unexported fields
}
TopAddressing 寻址服务 Author gaoyanlei Since 2017/8/9
func NewTopAddressing ¶
func NewTopAddressing(addr string) *TopAddressing
NewTopAddressing TopAddressing Author gaoyanlei Since 2017/8/9
func (*TopAddressing) FetchNSAddr ¶
func (self *TopAddressing) FetchNSAddr() string