simple

command
v0.0.0-...-5c807be Latest Latest
Warning

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

Go to latest
Published: May 11, 2015 License: MIT Imports: 7 Imported by: 0

README

SIMPLE TEST

This test will initialize a service that will send and receive messages. You need to have a running instance of a nsqd- and a nsqlookupd-service to run the test.

USAGE

  • Start a nsqlookupd and a connected nsqd-service (I recommend respective docker images)
  • Set the nsqlookupd-address constant in the source code
  • Compile and run the code
  • Enter your messages in the terminal

Use a point to separate the topic to post to from the message body.

repository.my custom message

Use the following syntax to issue a request

repository.request.my custom request

The service will subscribe to the topic "webserver" and respond to all requests sent to this topic

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