Categorygithub.com/akagi201/webtail
modulepackage
0.0.0-20170303055544-11fb25e9ee25
Repository: https://github.com/akagi201/webtail.git
Documentation: pkg.go.dev

# README

WebTail

Realtime tail -f logs on the web

Features

  • Use websocket to receive realtime log.
  • Support go-bindata.
  • Support multi-files to display.

Build

  • ./gobin.sh
  • go build

Run

  • ./webtail --log=/tmp/xxx.log

# Functions

Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.