service

package
v0.0.0-...-b174d20 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmail

func CreateEmail(receivers []string, subject string, body string) *sesv2.SendEmailInput

func GetSubscriptionEmailsByTopic

func GetSubscriptionEmailsByTopic(topics []string) ([]string, error)

Types

type User

type User struct {
	ID     uint   `json:"id"`
	Email  string `json:"email"`
	Topics []struct {
		ID   uint   `json:"id"`
		Name string `json:"name"`
	} `json:"topics"`
}

Jump to

Keyboard shortcuts

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