Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefinitionHandlers ¶
type DefinitionHandlers interface { privatemessaging.GroupManager HandleSystemBroadcast(ctx context.Context, msg *fftypes.Message, data []*fftypes.Data) (SystemBroadcastAction, error) SendReply(ctx context.Context, event *fftypes.Event, reply *fftypes.MessageInOut) }
DefinitionHandlers interface allows components to call broadcast/private messaging functions internally (without import cycles)
func NewDefinitionHandlers ¶
func NewDefinitionHandlers(di database.Plugin, dx dataexchange.Plugin, dm data.Manager, bm broadcast.Manager, pm privatemessaging.Manager, am assets.Manager) DefinitionHandlers
type SystemBroadcastAction ¶
type SystemBroadcastAction int
const ( ActionReject SystemBroadcastAction = iota ActionConfirm ActionRetry ActionWait )
Click to show internal directories.
Click to hide internal directories.