Documentation ¶
Overview ¶
Package sns provides an empire.EventStream implementation that publishes events to SNS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStream ¶
type EventStream struct { // The topic to publish events to. TopicARN string // contains filtered or unexported fields }
EventStream is an implementation of the empire.EventStream interface backed by SNS.
func NewEventStream ¶
func NewEventStream(c client.ConfigProvider) *EventStream
func (*EventStream) PublishEvent ¶
func (e *EventStream) PublishEvent(event empire.Event) error
Click to show internal directories.
Click to hide internal directories.