package
Version:
v1.1.0-rc7
Opens a new window with list of versions in this module.
Published: Jan 27, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EventData struct {
Id string `json:"id"`
Event string `json:"event"`
Data string `json:"data"`
}
type RorEvent struct {
Type string `json:"event"`
Data []byte `json:"data"`
}
type StreamInterface interface {
StartEventstream() (<-chan RorEvent, error)
StartEventstreamWithCallback(callbackfunc func(RorEvent)) (<-chan struct{}, error)
BroadcastEvent(event RorEvent) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.