tasks

package
v0.0.0-...-3fab451 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskBaseLogMonitor = "base-log-monitor"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogMonitor

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

func (*LogMonitor) Start

func (m *LogMonitor) Start(ctx context.Context) error

type Task

type Task interface {
	Start(ctx context.Context) error
}

func NewLogMonitor

func NewLogMonitor(lg *zap.Logger, name string, cfg config.EventMonitorConfig, repo repository.Repository, chain chain.Chain) Task

Jump to

Keyboard shortcuts

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