Documentation
¶
Index ¶
- type Manager
- func (m *Manager) EndpointID() ksuid.KSUID
- func (m *Manager) EndpointName() string
- func (m *Manager) Publish(topicName string, topicType string, expiry time.Duration, payload []byte) error
- func (m *Manager) Start()
- func (m *Manager) Stop()
- func (m *Manager) Subscribe(topicName string, topicType string, onReceive func(*topics.Message)) error
- func (m *Manager) Unsubscribe(topicName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager( networkID int64, endpointID ksuid.KSUID, endpointName string, listenAddress *net.UDPAddr, discoveryListenAddress *net.UDPAddr, discoveryTargetAddress *net.UDPAddr, listenInterface string, discoveryRate time.Duration, discoveryRateTimeoutMultiplier float64, onAdded func(*types.Container), onRemoved func(*types.Container), ) *Manager
func NewManagerSimple ¶
func (*Manager) EndpointID ¶
func (*Manager) EndpointName ¶
func (*Manager) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.