Versions in this module Expand all Collapse all v0 v0.1.0 Apr 12, 2023 Changes in this version + func NewTelegram(controller *order.Controller, settings model.Settings, options ...Option) (service.Telegram, error) + type Mail struct + func NewMail(params MailParams) Mail + func (t Mail) Notify(text string) + func (t Mail) OnError(err error) + func (t Mail) OnOrder(order model.Order) + type MailParams struct + From string + Password string + SMTPServerAddress string + SMTPServerPort int + To string + type Option func(telegram *telegram)