Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventPublisher ¶
type EventPublisher struct {
// contains filtered or unexported fields
}
func New ¶
func New() *EventPublisher
func StartUp ¶
func StartUp() (*EventPublisher, error)
func (*EventPublisher) Publish ¶
func (ep *EventPublisher) Publish(event string, payload []byte)
func (*EventPublisher) Subscribe ¶
func (ep *EventPublisher) Subscribe(event string, cb func([]byte)) func()
Click to show internal directories.
Click to hide internal directories.