sns

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEvent

func NewEvent(c sns.Client) repository.Event

NewEvent returns a initialized client

Types

type Client

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

func NewClient

func NewClient(c sns.Client) *Client

func (*Client) Publish

func (p *Client) Publish(ctx context.Context, events []*v2.Event) error

type Message

type Message struct {
	Default string `json:"default"`
}

Jump to

Keyboard shortcuts

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