redisspec

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package redisspec contains a Redis RESP2/RESP3 protocol compliance verification suite. It speaks raw TCP to a Redis server and validates wire framing, type encoding, and state transitions against the Redis protocol specification (https://redis.io/docs/reference/protocol-spec/).

The suite is organised by spec section:

  • Section 1: RESP2 types (+, -, :, $, *)
  • Section 2: RESP3 types (_, #, ',', (, !, =, ~, %, |, >)
  • Section 3: Command protocol (inline, multibulk, pipeline, edge cases)
  • Section 4: AUTH + SELECT
  • Section 5: Pub/Sub protocol
  • Section 6: Transaction protocol (MULTI/EXEC)
  • Section 7: Wire edge cases (split reads, flooding, binary keys, concurrency)
  • Section 8: Protocol fuzzing (fuzz_test.go)

Tests are gated by the `redisspec` build tag and the CELERIS_REDIS_ADDR environment variable. Every test uses raw TCP connections and the github.com/goceleris/celeris/driver/redis/protocol package for RESP encoding/decoding — no third-party Redis client is imported.

Documentation

Full guides and examples: https://goceleris.dev/docs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL