Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct { ResultChannel *Channel[*ResultMsg] RequestChannel *Channel[*RequestMsg] JobChannel *Channel[*JobMsg] DatabaseChannel *Channel[*DatabaseUpdateMsg] }
type DatabaseUpdateMsg ¶
type DatabaseUpdateMsg struct { IDs []driver.DocumentID `json:"ids"` Type DatabaseUpdateType `json:"type"` }
type DatabaseUpdateType ¶
type DatabaseUpdateType string
const ( DatabaseEntryRead DatabaseUpdateType = "read" DatabaseEntryCreated DatabaseUpdateType = "created" DatabaseEntryUpdated DatabaseUpdateType = "updated" )
type RequestMsg ¶
Click to show internal directories.
Click to hide internal directories.