grep

package
v0.0.0-...-d6bd6e3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inst

func Inst() common.GrepService

создает новый сервис поиска по логам

Types

type Config

type Config struct {
	// путь до файла с логами
	Output string `yaml:"logOutput"`
	// contains filtered or unexported fields
}

type Service

type Service struct {
	Configs map[string]*Config `yaml:"postmans"`
}

сервис ищущий сообщения в логе об отправке письма

func (*Service) OnFinish

func (s *Service) OnFinish()

завершает работу сервиса

func (*Service) OnGrep

func (s *Service) OnGrep(event *common.ApplicationEvent)

ищет логи об отправке письма

func (*Service) OnInit

func (s *Service) OnInit(event *common.ApplicationEvent)

инициализирует сервис

Jump to

Keyboard shortcuts

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