Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HEventBus ¶
type HEventBus struct {
// contains filtered or unexported fields
}
func (*HEventBus) Sub ¶
func (h *HEventBus) Sub(topic string, ch HEventData)
type HEventData ¶
type HEventData chan HEvent
type HEventDataArray ¶
type HEventDataArray []HEventData //一个topic 可以有多个消费者
type HEventRepo ¶
type HEventRepo interface {
Sub(topic string, ch HEventData)
Push(topic string, data interface{})
}
Click to show internal directories.
Click to hide internal directories.