We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5f599 commit eaa0172Copy full SHA for eaa0172
miniredis.go
@@ -273,6 +273,11 @@ func (m *Miniredis) FastForward(duration time.Duration) {
273
}
274
275
276
+// Server returns the underlying server to allow custom commands to be implemented
277
+func (m *Miniredis) Server() *server.Server {
278
+ return m.srv
279
+}
280
+
281
// redigo returns a redigo.Conn, connected using net.Pipe
282
func (m *Miniredis) redigo() redigo.Conn {
283
c1, c2 := net.Pipe()
0 commit comments