usecase

package
v0.0.0-...-791ffb2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatGptInteractor

type ChatGptInteractor struct {
	CGR ChatGptRepository
}

func (*ChatGptInteractor) PutChatGptResult

func (i *ChatGptInteractor) PutChatGptResult(arg domain.ChatGptResult, d *dynamo.DB) (domain.Res, error)

type ChatGptRepository

type ChatGptRepository interface {
	PutResult(table *dynamo.Table, arg domain.ChatGptResult) error
	CreateTableIfNotExists(d *dynamo.DB, tableName string) error
}

type NuxtMailInteractor

type NuxtMailInteractor struct {
	SES SESRepository
	NM  NuxtMailRepository
}

func (*NuxtMailInteractor) SendSESEmail

func (i *NuxtMailInteractor) SendSESEmail(arg domain.NuxtMail) (domain.Res, error)

type NuxtMailRepository

type NuxtMailRepository interface {
	Send(arg domain.NuxtMail, region string, id string, secret string) (*string, error)
}

type SESRepository

type SESRepository interface {
	GetRegion() string
	GetKeyid() string
	GetSecretkey() string
}

Jump to

Keyboard shortcuts

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