Documentation ¶
Index ¶
- type StateHub
- func (r *StateHub) OnDataColumnChange(tenantId, gid, tid, cid string, data any)
- func (r *StateHub) OnDataGroupChange(tenantId, gid string, data any)
- func (r *StateHub) OnDataTableChange(tenantId, gid, tid string, data any)
- func (r *StateHub) OnDomainChange(tenantId string, id int64, data any)
- func (r *StateHub) OnResourceChange(tenantId, id string, data any)
- func (r *StateHub) OnTargetAppChange(tenantId string, id int64, data any)
- func (r *StateHub) OnTargetHookChange(tenantId string, id int64, data any)
- func (r *StateHub) OnTenantChange(id string, data any)
- func (r *StateHub) OnUserGroupChange(tenantId, id string, data any)
- func (r *StateHub) Start(app xtypes.App) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateHub ¶
type StateHub struct {
// contains filtered or unexported fields
}
statehub subscribes to msgbus event and apply/push that to other hub
func (*StateHub) OnDataColumnChange ¶
func (*StateHub) OnDataGroupChange ¶
func (*StateHub) OnDataTableChange ¶
func (*StateHub) OnDomainChange ¶
func (*StateHub) OnResourceChange ¶
func (*StateHub) OnTargetAppChange ¶
func (*StateHub) OnTargetHookChange ¶
func (*StateHub) OnTenantChange ¶
func (*StateHub) OnUserGroupChange ¶
Click to show internal directories.
Click to hide internal directories.