sns

package
v1.1.22 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Behavior       sendTypeEnum = 0 // api service access log
	APICall        sendTypeEnum = 1 // 내부 api 콜
	LogIn          sendTypeEnum = 2 // 사용자 로그인
	BehaviorDetail sendTypeEnum = 3 // trace log
	BehaviorSql    sendTypeEnum = 4 // sql log
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSNS added in v1.1.21

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

func NewSNS

func NewSNS(cfg aws.Config) *AWSSNS

revive:disable:unexported-return

func (*AWSSNS) Send added in v1.1.21

func (s *AWSSNS) Send(snsType string, snsMessage interface{}) (*string, error)

func (*AWSSNS) WithTopic added in v1.1.21

func (s *AWSSNS) WithTopic(topic string) *AWSSNS

type Message added in v1.0.63

type Message struct {
	Type    string
	Message interface{}
}

Jump to

Keyboard shortcuts

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