Documentation ¶
Index ¶
- type MembershipManagerUnit
- func (m *MembershipManagerUnit) AddNetworkNode(nodeId string, node *pb.Node) error
- func (m *MembershipManagerUnit) NetworkNode(nodeId string) *pb.Node
- func (m *MembershipManagerUnit) NetworkNodeExists(id string) bool
- func (m *MembershipManagerUnit) NetworkNodes() map[string]*pb.Node
- func (m *MembershipManagerUnit) RemoveNetworkNode(id string) error
- type MembershipManagerUnitConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MembershipManagerUnit ¶
type MembershipManagerUnit struct {
// contains filtered or unexported fields
}
func NewMembershipManager ¶
func NewMembershipManager(config *MembershipManagerUnitConfig) (*MembershipManagerUnit, error)
func (*MembershipManagerUnit) AddNetworkNode ¶
func (m *MembershipManagerUnit) AddNetworkNode(nodeId string, node *pb.Node) error
func (*MembershipManagerUnit) NetworkNode ¶
func (m *MembershipManagerUnit) NetworkNode(nodeId string) *pb.Node
func (*MembershipManagerUnit) NetworkNodeExists ¶
func (m *MembershipManagerUnit) NetworkNodeExists(id string) bool
func (*MembershipManagerUnit) NetworkNodes ¶
func (m *MembershipManagerUnit) NetworkNodes() map[string]*pb.Node
func (*MembershipManagerUnit) RemoveNetworkNode ¶
func (m *MembershipManagerUnit) RemoveNetworkNode(id string) error
Click to show internal directories.
Click to hide internal directories.