registration

package
v0.0.0-...-270d295 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemPublisherCallback

func RemPublisherCallback(token CallbackToken)

func RemSubscriberCallback

func RemSubscriberCallback(token CallbackToken)

Types

type CallbackToken

type CallbackToken struct {
	// contains filtered or unexported fields
}

func AddPublisherEventCallback

func AddPublisherEventCallback(callback func(ecaltypes.TopicID, Event)) CallbackToken

func AddSubscriberEventCallback

func AddSubscriberEventCallback(callback func(ecaltypes.TopicID, Event)) CallbackToken

type Event

type Event uint8
const (
	EntityNew     Event = 0
	EntityDeleted Event = 1
)