email_api

package
v1.0.44 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailAPI

type EmailAPI interface {
	SendEmail(from, domain, apiKey, subject, to, message string, attachment []string) error
}

type EmailApiService

type EmailApiService struct {
	From   string
	Domain string
	ApiKey string
	Sender EmailAPI
}

func NewEmailApiService

func NewEmailApiService(from, domain, apiKey string, sender EmailAPI) *EmailApiService

func (*EmailApiService) SendEmail

func (s *EmailApiService) SendEmail(subject, to, message string, attachment []string) error

type KirimEmail

type KirimEmail struct {
}

func (KirimEmail) SendEmail

func (s KirimEmail) SendEmail(from, domain, apiKey, subject, to, message string, attachment []string) error

Jump to

Keyboard shortcuts

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