Commit Graph

40 Commits

Author SHA1 Message Date
Josh Baker 67c21aa488 Major API update. Please see details.
The Redcon API has been changed to better reflect the wants of the
community. THIS IS A BREAKING COMMIT... sorry, it's a one time thing.

The changes include:

1. All commands and responses use []byte rather than string for data.
2. The handler signature has been changed from:
   func(conn redcon.Conn, args [][]string)
   to:
   func(conn redcon.Conn, cmd redcon.Command)
3. There's a new Reader and Writer types for reading commands and
   writing responses.

Performance remains the same.
2016-09-17 20:17:23 -07:00
Josh Baker 08e1ceff58 added Hijack func for detached connections 2016-09-13 11:32:47 -07:00
Josh Baker 8d2bcf15cc do not lcase command 2016-09-09 21:43:07 -07:00
Josh Baker 0ec132aed9 copy fix 2016-09-08 17:46:16 -07:00
Josh Baker 88057ab8af remove bytes example 2016-09-07 08:27:28 -07:00
Josh Baker e1ee7d9f1e default mem buffers 2016-09-07 06:19:55 -07:00
Josh Baker 9b05e8accd init wr zero 2016-09-07 06:04:39 -07:00
Josh Baker 639a7aff4b bytes interface 2016-09-07 05:50:27 -07:00
Josh Baker 4276409b25 memory optimizations 2016-09-06 22:56:44 -07:00
Josh Baker 349b9006f1 connection context 2016-08-29 07:01:30 -07:00
Josh Baker eadbf61d4c Merge pull request #2 from thinxer/bulkbytes
add Conn.WriteBulkBytes
2016-08-23 06:51:19 -07:00
Jianfei Wang 0aadbbce23 add Conn.WriteBulkBytes 2016-08-23 20:54:17 +08:00
Josh Baker 0564b610bc isolate tcplistener 2016-08-22 11:11:30 -07:00
Josh Baker 869d600179 another data race 2016-08-22 11:07:42 -07:00
Josh Baker 9b5818be06 removed data race 2016-08-22 11:05:11 -07:00
Josh Baker f549dc92e8 added signal 2016-08-22 10:53:04 -07:00
Josh Baker e9d886853f server type and better coverage 2016-08-21 09:34:23 -07:00
Josh Baker a88a6c7cb0 Update README.md 2016-08-20 12:45:14 -07:00
Josh Baker a9bf55aaf0 changed implementation to framework 2016-08-20 12:44:34 -07:00
Josh Baker 36210d8e32 Update README.md 2016-08-20 12:37:15 -07:00
Josh Baker 408b582990 updated benchmark commands 2016-08-20 11:45:35 -07:00
Josh Baker 151557dcdb typo 2016-08-20 11:35:57 -07:00
Josh Baker 9569906350 removed extra line in code 2016-08-20 11:35:15 -07:00
Josh Baker 1cd8973b32 renamed example 2016-08-20 11:34:06 -07:00
Josh Baker dfd45719ec more comments 2016-08-20 11:32:41 -07:00
Josh Baker a04ea6b9f8 typo 2016-08-20 11:31:28 -07:00
Josh Baker 4a0007e8c2 add description 2016-08-20 11:30:29 -07:00
Josh Baker 9e38e36ab2 benchmarks 2016-08-20 11:23:34 -07:00
Josh Baker acdeed6613 added travis.yml 2016-08-20 10:42:51 -07:00
Josh Baker a0dd5b1b13 added SetReadBuffer 2016-08-20 10:42:34 -07:00
Josh Baker 32650a5023 Update README.md 2016-08-20 10:23:11 -07:00
Josh Baker 64611af798 fixed test 2016-08-20 09:57:29 -07:00
Josh Baker b110d63709 minor optimizations 2016-08-20 09:23:39 -07:00
Josh Baker 55f1a9cf23 minor optimizations 2016-08-20 08:19:08 -07:00
Josh Baker 142cd0b96f faster writer 2016-08-20 07:23:16 -07:00
Josh Baker 51b9ffb439 updated examples 2016-08-16 05:51:20 -07:00
Josh Baker 9d5301c35f nil check 2016-07-29 11:22:13 -07:00
Josh Baker 671374e8fd updated example link 2016-07-28 10:43:10 -07:00
Josh Baker 29f12698c0 first commit 2016-07-28 07:55:51 -07:00
Josh Baker ffcf13732b first commit 2016-07-28 07:54:02 -07:00