package
1.18.1
Repository: https://github.com/polarismesh/polaris.git
Documentation: pkg.go.dev

# Functions

InitEventHub initialize event hub.
Publish pushlish event to topic @param topic Topic name @param event Event object.
No description provided by the author
Shutdown shutdown event hub.
Subscribe subscribe topic.
SubscribeWithFunc subscribe topic use func.
WithQueueSize set event queue size.

# Constants

CacheClientEventTopic record cache occur client add/update/del event.
CacheInstanceEventTopic record cache occur instance add/update/del event.
CacheNamespaceEventTopic record cache occur namespace add/update/del event.
ClientEventTopic .
ConfigFilePublishTopic config file release publish.
EventCreated value create event.
EventDeleted value delete event.
EventUpdated value update event.
InstanceEventTopic discover event.
LeaderChangeEventTopic leader change.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
PublishConfigFileEvent 事件对象,包含类型和事件消息.
PublishOption .
SubOptions subscripion options.
No description provided by the author

# Interfaces

Event evnt type.
Handler event handler.

# Type aliases

EventType common event type.
No description provided by the author
SubOption subscription option func.