service

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

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

func NewESCli

func NewESCli(cfg conf.Config, logger *zerolog.Logger) *Cli

func (*Cli) SendEvents

func (s *Cli) SendEvents(events []*entity.Event) error

type Manager

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

func NewManager

func NewManager(logger *zerolog.Logger) *Manager

func (*Manager) ListenSignal

func (s *Manager) ListenSignal() (context.Context, chan<- os.Signal)

type Watcher

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

func NewWatcher

func NewWatcher(cfg conf.Config, esCli *Cli, logger *zerolog.Logger) *Watcher

func (*Watcher) Start

func (s *Watcher) Start(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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