tailf

package
v0.0.0-...-11928bc Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusNormal = 1
	StatusDelete = 2
)

Variables

This section is empty.

Functions

func InitTail

func InitTail(conf []CollectConf, chanSize int) (err error)

func UpdateConfig

func UpdateConfig(confs []CollectConf) (err error)

Types

type CollectConf

type CollectConf struct {
	LogPath string `json:"logpath"`
	Topic   string `json:"topic"`
}

type TailObj

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

type TailObjMgr

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

type TextMsg

type TextMsg struct {
	Msg   string
	Topic string
}

func GetOneLine

func GetOneLine() (msg *TextMsg)

Jump to

Keyboard shortcuts

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