echo

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NotifierConfig nginx_notifier.Config
}

func (*Config) AddFlags

func (h *Config) AddFlags(set *pflag.FlagSet)

func (*Config) FromMap added in v0.9.0

func (h *Config) FromMap(m map[string]string) error

func (*Config) GetNotifier

func (h *Config) GetNotifier(ncfg *notify.Config, ctx context.Context) (platform.Notifier, error)

func (*Config) GetSource

func (h *Config) GetSource(fileHandler platform.Configer, ctx context.Context, tailMode bool) (source.Reader, error)

func (*Config) ListExistedEntrys added in v0.9.0

func (h *Config) ListExistedEntrys() (map[string]*entry.LogEntry, error)

func (*Config) Notify

func (h *Config) Notify(ens map[string]*entry.LogEntry) error

func (*Config) NotifyDel added in v0.9.0

func (h *Config) NotifyDel(en ...*entry.LogEntry) error

Jump to

Keyboard shortcuts

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