repositories

package
v0.0.0-...-7cd4d1f Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UserMail string
	Password string

	Host       string
	Port       int
	ServerAddr string
}

type CsvExtractor

type CsvExtractor struct {
}

func New

func New() *CsvExtractor

func (*CsvExtractor) GetUserTransactions

func (c *CsvExtractor) GetUserTransactions(
	ctx context.Context,
	userID uint64) ([]transactions.TransactionDetail, error)

type EmailSender

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

func NewSender

func NewSender(config Config) EmailSender

func (*EmailSender) SendEmailNotification

func (es *EmailSender) SendEmailNotification() error

type SummaryMailData

type SummaryMailData struct {
	TotalBalance float64

	TransactionsByMonth string

	AverageDebit  string
	AverageCredit string
}

Jump to

Keyboard shortcuts

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