membershipmanager

package
v0.0.0-...-102eb4e Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

type MembershipManagerUnitConfig

type MembershipManagerUnitConfig struct {
	SQLConnectionString string
	UseDB               bool
}

Jump to

Keyboard shortcuts

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