Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventHandler ¶
type EventHandler = internal.EventHandler
type Eventbus ¶
type Subscription ¶ added in v2.6.0
func Subscribe ¶
func Subscribe(ctx context.Context, topic string, handler EventHandler, balance ...bool) (Subscription, error)
Subscribe 订阅事件
Click to show internal directories.
Click to hide internal directories.