rename internal thigs of smtp/

This commit is contained in:
Aine
2022-09-06 22:16:28 +03:00
parent 2b5095b0b2
commit 5945ddc8a0
3 changed files with 16 additions and 16 deletions

View File

@@ -15,8 +15,8 @@ import (
"gitlab.com/etke.cc/postmoogle/utils"
)
// Client interface to send emails into matrix
type Client interface {
// Bot interface to send emails into matrix
type Bot interface {
GetMapping(string) (id.RoomID, bool)
Send2Matrix(ctx context.Context, email *utils.Email) error
SetMTA(mta utils.MTA)