taillog

package
v0.0.0-...-57df5a1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(logEntryConf []*etcd.LogEntry)

func NewConfChan

func NewConfChan() chan<- []*etcd.LogEntry

NewConfChan 一个函数,向外暴露tskMgr的newConfChan 内部私有字段 向外暴露

func PushNewConf

func PushNewConf(newConf []*etcd.LogEntry)

PushNewConf 一个函数,向外暴露tskMgr的newConfChan 内部私有字段 向外暴露

Types

type TailTask

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

TailTask 一个日志收集的任务

func NewTailTask

func NewTailTask(path, topic string) (tailObj *TailTask)

func (*TailTask) ReadChan

func (t *TailTask) ReadChan() <-chan *tail.Line

Jump to

Keyboard shortcuts

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