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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址