Documentation
¶
Index ¶
- Constants
- type Bus
- type Callback
- type CrudData
- type EventBus
- func (bus *EventBus) Broadcast(channel string, data interface{})
- func (bus *EventBus) ClusteringBroadcast(channel string, data interface{}) error
- func (bus *EventBus) ClusteringSubscribe(channel string, fn func(data []byte))
- func (bus *EventBus) Start() error
- func (bus *EventBus) Stop() error
- func (bus *EventBus) Subscribe(channel string, cb Callback)
- type EventFanoutData
- type Message
Constants ¶
View Source
const ( EventCRUD = "crud" EventEventFanout = "event.fanout" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
func NewEventBus ¶
func (*EventBus) ClusteringBroadcast ¶ added in v0.6.0
func (*EventBus) ClusteringSubscribe ¶ added in v0.6.0
type EventFanoutData ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.