Documentation ¶
Overview ¶
Package redisserver is package for starting a redis test server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.33.2
type Server interface { Addr() string Close() error // TestingFastForward is a function for enforce the TTL of keys in // implementations what they have not exercise the expiration by themselves // (e.g. Minitredis). This method is a no-op in implementations which support // the expiration as usual. // // All the keys whose TTL minus d become <= 0 will be removed. TestingFastForward(d time.Duration) }
Server represents a redis server.
Click to show internal directories.
Click to hide internal directories.