Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithClient ¶
func NewWithClient(client snsiface.SNSAPI) (events.EventService, error)
Types ¶
type SnsEventService ¶
type SnsEventService struct { events.UnimplementedeventsPlugin // contains filtered or unexported fields }
func (*SnsEventService) ListTopics ¶
func (s *SnsEventService) ListTopics() ([]string, error)
func (*SnsEventService) Publish ¶
func (s *SnsEventService) Publish(topic string, event *events.NitricEvent) error
Publish to a given topic
Click to show internal directories.
Click to hide internal directories.