Commit Graph

14 Commits

Author SHA1 Message Date
tidwall 4dcf45bac0 Added pub/sub documentation 2020-10-31 07:30:48 -07:00
tidwall d5576bf8a3 Added PubSub 2020-10-30 06:46:06 -07:00
Oleg Ozimok a6727f990d add server mux 2019-04-07 21:03:47 +03:00
Josh Baker f2794a0a30 tls example 2017-09-22 11:54:30 -07:00
Chris Van de Gejuchte 61c5beb419 Adds tls support 2017-09-21 12:15:47 +02: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 8d2bcf15cc do not lcase command 2016-09-09 21:43:07 -07:00
Josh Baker 88057ab8af remove bytes example 2016-09-07 08:27:28 -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 1cd8973b32 renamed example 2016-08-20 11:34:06 -07:00
Josh Baker 671374e8fd updated example link 2016-07-28 10:43:10 -07:00
Josh Baker ffcf13732b first commit 2016-07-28 07:54:02 -07:00