app

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg configapp.AppConfig, awscfg aws.Config, lastPeriodToWatch int, log *logrus.Logger) *App

func (*App) GetTimeStampMsRangeofLastHour

func (a *App) GetTimeStampMsRangeofLastHour() (begin int64, end int64, err error)

func (*App) LoadRules

func (a *App) LoadRules() error

Try to load regexp rules that will be used to ignore events (log)

func (*App) LogCheck

func (a *App) LogCheck() error

Main function that parses every streams of loggroup a.cfg.LogGroup

func (*App) PrintMemoryStats

func (a *App) PrintMemoryStats(stop <-chan interface{})

func (*App) SendReport

func (a *App) SendReport(freport string) error

Jump to

Keyboard shortcuts

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