Move towards the self-provided Redis connection pool and RESP protocol implementation.

Official redis client library won't work with yaegi.
This commit is contained in:
2025-10-19 12:57:11 +01:00
parent 92a058da83
commit 868503fd7e
10 changed files with 2509 additions and 127 deletions
+10
View File
@@ -112,6 +112,16 @@ func (m *MiniredisServer) CheckKeys() []string {
return m.server.Keys()
}
// Close closes the miniredis server
func (m *MiniredisServer) Close() {
m.server.Close()
}
// Restart restarts the miniredis server
func (m *MiniredisServer) Restart() {
m.server.Restart()
}
// TestConfig provides default test configuration
type TestConfig struct {
MaxSize int