namesrv

package
v0.0.0-...-ba2213e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

type RegisterBrokerResult struct {
	HaServerAddr string
	MasterAddr   string
	KvTable      *body.KVTable
}

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

Jump to

Keyboard shortcuts

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