Commit Graph

11 Commits

Author SHA1 Message Date
Josh Baker 0dba69d996 unix socket tests 2016-10-18 15:27:49 -07:00
Josh Baker 89a9dbebb2 support for unix domain sockets, fixes #6 2016-10-18 15:17:35 -07:00
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 e1ee7d9f1e default mem buffers 2016-09-07 06:19:55 -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
Jianfei Wang 0aadbbce23 add Conn.WriteBulkBytes 2016-08-23 20:54:17 +08: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 ffcf13732b first commit 2016-07-28 07:54:02 -07:00