modulepackage
0.2.3
Repository: https://github.com/codecrafters-io/logstream.git
Documentation: pkg.go.dev
# README
Execute a program and streams logs to Redis.
Logstream URL
A logstream URL is of the following format: <redis_uri>/<stream_id>
. If a
stream already exists, it'll be appended to.
Usage
Producers:
logstream --url=<logstream_url> run echo hey
Consumers:
logstream --url=<logstream_url> follow
The follow
command exits with the exit code of the process.
To append logs but not terminate the stream:
echo "hey" | logstream --url=<logstream_url> append
Releasing
make release
# Packages
No description provided by the author
# Constants
No description provided by the author
# Structs
No description provided by the author