Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameHolder ¶
type NameHolder struct { LocalPath string `json:"localPath"` LocalIP string `json:"localIp"` ApplyTime string `json:"applyTime"` ServiceKey string `json:"-"` }
NameHolder ...
func (*NameHolder) DecodeInfo ¶
func (h *NameHolder) DecodeInfo(data []byte) error
func (*NameHolder) EncodeInfo ¶
func (h *NameHolder) EncodeInfo() ([]byte, error)
type NodeNamed ¶
type NodeNamed interface {
GetNodeID(*NameHolder) (int, error)
}
func NewBoltNamed ¶
func NewConsulNamed ¶
func NewEtcdNamed ¶
Click to show internal directories.
Click to hide internal directories.