message

package
v0.0.0-...-b4fa44d Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DO_NOTHING = false // メッセージ送信しない場合はtrueにしてください
	AWS_REGION = "ap-northeast-1"
	TOPIC_ARN  = "arn:aws:sns:ap-northeast-1:123456789012:SampleTopic"
)

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(operationType string, idStr string, itemCode string, text string, filterValue string)

SQSにメッセージを送信します

Types

type Message

type Message struct {
	OperationType string `json:"operationType"`
	ID            string `json:"id"`
	ItemCode      string `json:"itemCode"`
	Text          string `json:"text"`
}

Jump to

Keyboard shortcuts

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