Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func NewConfigFromEnv ¶
func (*Config) ConnectToServer ¶
func (c *Config) ConnectToServer(service EmailService) (*client.Client, error)
type Email ¶
func FetchEmails ¶
type EmailService ¶
type EmailService int
const ( IMAP_SERVICE EmailService = 993 SMTP_SERVICE EmailService = 587 )
Click to show internal directories.
Click to hide internal directories.