statehub

package
v0.0.0-...-8c2001a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 New

func New() StateHub

func (*StateHub) OnDataColumnChange

func (r *StateHub) OnDataColumnChange(tenantId, gid, tid, cid string, data any)

func (*StateHub) OnDataGroupChange

func (r *StateHub) OnDataGroupChange(tenantId, gid string, data any)

func (*StateHub) OnDataTableChange

func (r *StateHub) OnDataTableChange(tenantId, gid, tid string, data any)

func (*StateHub) OnDomainChange

func (r *StateHub) OnDomainChange(tenantId string, id int64, data any)

func (*StateHub) OnResourceChange

func (r *StateHub) OnResourceChange(tenantId, id string, data any)

func (*StateHub) OnTargetAppChange

func (r *StateHub) OnTargetAppChange(tenantId string, id int64, data any)

func (*StateHub) OnTargetHookChange

func (r *StateHub) OnTargetHookChange(tenantId string, id int64, data any)

func (*StateHub) OnTenantChange

func (r *StateHub) OnTenantChange(id string, data any)

func (*StateHub) OnUserGroupChange

func (r *StateHub) OnUserGroupChange(tenantId, id string, data any)

func (*StateHub) Start

func (r *StateHub) Start(app xtypes.App) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL