Documentation ¶
Index ¶
- Constants
- type Bus
- func (b *Bus) DumpState() [][]string
- func (b *Bus) Register(queues []string) (chan Event, int, error)
- func (b *Bus) Send(event, typ string, thing interface{}, queues ...string)
- func (b *Bus) SendError(err error, queues ...string)
- func (b *Bus) SendEvent(queues []string, ev Event)
- func (b *Bus) Unregister(idx int) error
- type Event
Constants ¶
View Source
const ( ErrorEvent = "error" UnlockCoreEvent = "unlock-core" CreateObjectEvent = "create-object" UpdateObjectEvent = "update-object" DeleteObjectEvent = "delete-object" TaskStatusUpdateEvent = "task-status-update" TaskLogUpdateEvent = "task-log-update" TenantInviteEvent = "tenant-invite" TenantBanishEvent = "tenant-banish" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.