sns_notification_gateway

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(topic string, client *sns.Client) gateway.Notification

Types

type SnsGateway

type SnsGateway struct {
	// contains filtered or unexported fields
}

func (*SnsGateway) Endpoint

func (g *SnsGateway) Endpoint() notification.Endpoint

func (*SnsGateway) SendMessage

func (g *SnsGateway) SendMessage(ctx context.Context, message string) error

func (*SnsGateway) Type added in v0.0.10

func (g *SnsGateway) Type() notification.TopicType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL