Commit Graph
54 Commits
Author SHA1 Message Date
Nathan Harris 65d0afdfd0 Add RedisDriver to eventually replace NIORedis that works more deeply with NIO 2019-01-09 18:14:24 -08:00
Nathan Harris 2d95af59d9 Add RedisPipeline to eventually replace NIORedisPipeline that works more deeply with NIO 2019-01-09 18:14:24 -08:00
Nathan Harris 1469282930 Add RedisConnection to eventually replace NIORedisConnection that works more deeply with NIO 2019-01-09 18:14:24 -08:00
Nathan Harris 8cdcffd8cd Add RedisCommandHandler to eventually replace RedisMessenger that works more deeply with NIO 2019-01-09 18:14:24 -08:00
Nathan Harris 19cbadc506 Clarify and make public RESPDecoder 2019-01-09 13:18:28 -08:00
Nathan Harris e01cdf565d Clarify and make public RESPEncoder 2019-01-09 13:10:59 -08:00
Nathan Harris 26e3ac2aab Rename usage of RedisData to RESPValue or just RESP where it makes sense 2019-01-09 13:04:51 -08:00
Nathan Harris 473bdcbeed Clarify module and project names 2019-01-09 12:44:41 -08:00
Nathan Harris 5d9db5b9b3 Add Apache 2 license 2019-01-08 15:14:19 -08:00
Nathan Harris 498a732b3f Update pitch doc to include references to pipelines and include links 0.1.0 2019-01-07 19:45:46 -08:00
Nathan Harris 44633a29b2 Merge branch 'pipelining'
* pipelining:
  Add `NIORedisPipeline` and `RedisPipeline` to allow chaining requests and receiving a single response
  Rename `redisPipeline` property in `NIORedisConnection` to remove possible confusion on upcoming `NIORedisPipeline` structure
  Restructure `RedisMessenger` to be a little more legible
2019-01-07 19:37:26 -08:00
Nathan Harris a35de887dd Add NIORedisPipeline and RedisPipeline to allow chaining requests and receiving a single response 2019-01-07 19:37:19 -08:00
Nathan Harris 75efad98be Rename redisPipeline property in NIORedisConnection to remove possible confusion on upcoming NIORedisPipeline structure 2019-01-07 19:29:54 -08:00
Nathan Harris 68e8c5e9cf Restructure RedisMessenger to be a little more legible 2019-01-07 19:29:31 -08:00
Nathan Harris 87618befe4 Make RedisData convenience properties public 2019-01-07 13:34:00 -08:00
Nathan Harris 3a26585562 Add pitch doc 2018-12-22 20:35:10 -08:00
Nathan Harris 314532e014 Force RedisConnection to cleanup its resources 2018-12-22 20:26:36 -08:00
Nathan Harris 25595b45a5 Make RedisConnection use its queue 2018-12-22 20:24:47 -08:00
Nathan Harris 58ac3c1298 Add basic non-NIO wrappers for Redis 2018-12-22 16:22:04 -08:00
Nathan Harris bff48ddf0c Fix assertion failure in unit tests 2018-12-22 15:55:26 -08:00
Nathan Harris 7a4a8e5913 Add authorization to Redis instances with passwords 2018-12-22 15:51:37 -08:00
Nathan Harris 5b1377b115 Add convienence methods for "basic" commands 2018-12-22 15:47:33 -08:00
Nathan Harris a41fe56f96 Fix deinit assertion 2018-12-22 15:41:30 -08:00
Nathan Harris dcfd81b259 Add NIORedis that handles creating new connections 2018-12-22 14:52:23 -08:00
Nathan Harris 20ec21a162 Add NIORedisConnection that handles combining all Channel handlers and actually connects to Redis 2018-12-22 14:51:05 -08:00
Nathan Harris cb3b02df79 Rename test folders to match source directory 2018-12-22 14:46:32 -08:00
Nathan Harris b759863dfa Add RedisMessenger for handling read/write queues to Redis 2018-12-22 14:45:53 -08:00
Nathan Harris a2753dacdf audit visibility 2018-12-22 11:52:43 -08:00
Nathan Harris 1af3b24fad Cleanup and add convienence init for RedisData 2018-12-21 23:03:37 -08:00
Nathan Harris b5db463a46 Add RedisDataConvertible 2018-12-21 22:58:54 -08:00
Nathan Harris e3c850e530 Add RedisDataEncoder with unit tests 2018-12-21 21:17:28 -08:00
Nathan Harris 99463bfcd1 Use SwiftNIO 2.0 development 2018-12-18 22:56:00 -08:00
Nathan Harris 15859bcf19 Fix decoding bug with arrays and remove unnecessary extensions 2018-12-18 22:55:40 -08:00
Nathan Harris 7b1d2b46c5 Update package name and remove license 2018-12-18 21:55:15 -08:00
Nathan Harris ec73231541 Add unit tests tying all RedisDataDecoder together 2018-12-15 14:53:14 -08:00
Nathan Harris 7d69d69869 Cleanup RedisDataDecoder and fully implement ByteToMessageDecoder conformance 2018-12-15 14:09:26 -08:00
Nathan Harris c928204cf0 Fix bulkString bug 2018-12-15 14:01:16 -08:00
Nathan Harris abcab12854 Add RedisError parsing unit test 2018-12-15 00:09:12 -08:00
Nathan Harris d2fed4fbf7 Mark internal computed properties properly 2018-12-15 00:09:12 -08:00
Nathan Harris 770f5dbd71 Restructure unit tests to handle RedisData and to be more DRY 2018-12-15 00:09:12 -08:00
Nathan Harris 93e4864c99 Rename RedisData.basicString to .simpleString to be consistent throughout code and Redis RESP protocol names 2018-12-14 23:11:23 -08:00
Nathan Harris 095735ca23 Add RedisData and properly return parsed data in DataDecoder 2018-12-14 22:12:06 -08:00
Nathan Harris 6318e67c10 Slight perf gain from not copying buffers all over and fix test case bug 2018-12-14 17:23:32 -08:00
Nathan Harris 56880971db Add RedisError parsing and usage 2018-12-14 16:39:24 -08:00
Nathan Harris 856723138a Remove unnecessary indirect keyword on _RedisDataDecodingState 2018-12-14 15:34:46 -08:00
Nathan Harris bcc40319cf Add decoding of arrays 2018-12-14 14:22:18 -08:00
Nathan Harris a87ce04e25 Restructured RedisDataDecoder parsing tests 2018-12-14 09:23:49 -08:00
Nathan Harris bde4eda9ab Add bulk string decoding 2018-12-14 09:01:35 -08:00
Nathan Harris 8fab1fdb9b Rename _PartialRedisData to _RedisDataDecodingState and add comments with links to specific RESP protocol sections 2018-12-13 15:29:52 -08:00
Nathan Harris 6b5e0c5590 Add RESP integer parsing 2018-12-13 14:56:09 -08:00