项目作者: b4fun

项目描述 :
Tail, then that.
高级语言: Go
项目地址: git://github.com/b4fun/tailtt.git
创建时间: 2018-07-12T17:24:21Z
项目社区:https://github.com/b4fun/tailtt

开源协议:MIT License

下载


tailtt

Tail, then that.

Usage

  1. $ tailtt \
  2. -f /var/log/nginx.log \
  3. -w "holy keyword" \
  4. -notify-bearychat-channel "<BEARYCHAT-CHANNEL>" \
  5. -notify-bearychat-rtm "<BEARYCHAT-RTM-TOKEN>"

Build

  1. $ make build

Build with env vars

  1. $ export BEARYCHAT_RTM_TOKEN=xxx
  2. $ export BEARYCHAT_RTM_CHANNEL=yyy
  3. $ make build

LICENSE

MIT