package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Packages

# Functions

NewNotificationWatcher is constructor of NotificationWatcher.
Publish is a wrapper utility method for NotificationWatcher.notify().
Subscribe is a wrapper utility method for NotificationWatcher.handle().
UnSubscribe is a wrapper utility method for NotificationWatcher.UnHandle().

# Structs

HandlerChannel provides not only the chan itself but also the count of handlers related with this chan.
Notification wraps the topic and related data value if existing.
NotificationWatcher is defined to accept the events published by the sender and match it with pre-registered notification handler and then trigger the execution of the found handler.

# Interfaces

NotificationHandler defines what operations a notification handler should have.

# Type aliases

HandlerIndexer is setup the relationship between the handler type and instance.