stancli

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 5 Imported by: 0

README

Stancli

Utility for send arbitrary data to nats streaming server from command-line.

Packages

stancli license Scc Count Badge

Installation

$ go get -u github.com/vasyahuyasa/stancli

Command-Line Options

Usage: stancli [OPTIONS] [FILE]

Send data to Nats streaming server.
With no FILE, or when FILE is -, read standard input.

Options:
  -client_id string
        Client ID (default "stan_cli")
  -cluster string
        Cluster ID (default "nats")
  -help
        This help text
  -subject string
        Subject (default "default")
  -url string
        NATS server url (default "nats://client:123456@localhost:4222")

Example usage

$ cat example/changeEmployee.txt | stancli -subject employees

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