Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassiano Aquino committed May 6, 2016
1 parent 61b74f8 commit f5242b5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Parameters:
-a PASSWORD - Authentication password
-i INTERVAL - Interval between commands
```

Examples:

```bash
Expand Down Expand Up @@ -62,15 +62,15 @@ PONG
```bash
$ redis-pubsub-test <PARAMETERS> <CHANNEL>
```

Parameters:

```bash
-h Host - Defaults localhost.
-p Port - Defaults 6379.
CHANNEL - Channel to subscribe
```

## Pubsub demo
In one shell run the command:

Expand All @@ -83,7 +83,7 @@ In another shell run the command:
```bash
$ redis-bash-cli -h localhost -p 6379 PUBLISH test "Hello World."
```

# Using the Library in your code
The library have a single function to handle the redis communication.

Expand Down Expand Up @@ -125,7 +125,7 @@ exec 6>&- # close the connection
* Juliano Martinez - Idea to handle socket disconnections on the pubsub demo

# TESTED
* Debian squeeze 6.0.X - GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
* Debian squeeze 6.0.X - GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
* Mac OS X Lion 10.7.X - GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)

# PERFORMANCE
Expand All @@ -146,3 +146,6 @@ real0m0.012s
user0m0.000s
sys0m0.008s
```

# LICENSE
MIT

0 comments on commit f5242b5

Please sign in to comment.