Documentation ¶
Index ¶
- Constants
- func GetNamespace(t int) string
- func GetServiceName(t int) string
- func GetServiceType(ns, svc string) int
- func RegisterNodeType(t int, ns, svc string)
- type Endpoint
- type INode
- type Node
- func (this *Node) Close()
- func (this *Node) GetBase() interface{}
- func (this *Node) Id() uint32
- func (this *Node) Init(nodeType int, watchNodeTypes []int, d time.Duration, inst INode) error
- func (this *Node) OnNodeJoin(endpoint *Endpoint)
- func (this *Node) OnNodeLeave(endpoint *Endpoint)
- func (this *Node) Ports(name string) int
- type NodeType
- type Watch
Constants ¶
View Source
const ID_BASE = 100000
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶
func GetServiceName ¶
func RegisterNodeType ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) OnNodeLeave ¶
Click to show internal directories.
Click to hide internal directories.