tail

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package tail implements a plugin to tail files and notify new lines on all channels.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(b bot.Bot, paths []string)

Register registers the plugin with a bot.

func Tail

func Tail(path string, notify func(string))

Tail watches a file and calls notify for every new line. File can be truncated but it does not detect if file is renamed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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