Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEventsStreamer ¶
type CloudEventsStreamer struct {
// contains filtered or unexported fields
}
func NewCloudEventsStreamer ¶
func NewCloudEventsStreamer() *CloudEventsStreamer
func (*CloudEventsStreamer) Publish ¶
func (e *CloudEventsStreamer) Publish(event cloudevents.Event)
func (*CloudEventsStreamer) Stop ¶
func (e *CloudEventsStreamer) Stop()
func (*CloudEventsStreamer) Subscribe ¶
func (e *CloudEventsStreamer) Subscribe(ch chan cloudevents.Event)
func (*CloudEventsStreamer) Unsubscribe ¶
func (e *CloudEventsStreamer) Unsubscribe(ch chan cloudevents.Event)
type EventStreamer ¶ added in v0.4.21
type EventStreamer interface { Subscribe(ch chan cloudevents.Event) Unsubscribe(ch chan cloudevents.Event) Publish(event cloudevents.Event) Stop() }
Click to show internal directories.
Click to hide internal directories.