tail2redis

command module
v0.0.0-...-a5f20e0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 7 Imported by: 0

README

tail2redis

Tailing a file to Redis server (PubSub)

Example

$ ./tail2redis -h
NAME:
   tail2redis - Tailing a file to redis server (PubSub)

USAGE:
   tail2redis [global options] command [command options] [arguments...]

AUTHOR:
   Namhyeon Go <abuse@catswords.net>

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --file value, -f value      Choose a file (default: "/var/log/messages")
   --host value, -H value      Redis host (default: "localhost")
   --port value, -P value      Redis host (default: 6379)
   --password value, -p value  Redis password
   --channel value, -c value   Redis PubSub channel (default: "tail2redis")
   --help, -h                  show help

$ ./tail2redis -H localhost -P 6379 -p [PASSWORD] -c [CHANNEL] -f /var/log/messages

Contact me

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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