Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Guardian ¶
type Guardian struct {
// contains filtered or unexported fields
}
Guardian защитник, блокирует отправку на указанные почтовые сервисы
type Service ¶
type Service struct { // хосты, на которые блокируется отправка писем Hostnames []string `yaml:"exclude"` // количество горутин блокирующий отправку писем к почтовым сервисам GuardiansCount int `yaml:"workers"` // contains filtered or unexported fields }
Service сервис, блокирующий отправку писем
func (*Service) OnFinish ¶
func (s *Service) OnFinish()
OnFinish завершает работу сервиса соединений
func (*Service) OnInit ¶
func (s *Service) OnInit(event *common.ApplicationEvent)
OnInit инициализирует сервис блокировок
Click to show internal directories.
Click to hide internal directories.