Documentation ¶
Overview ¶
Package testredis 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 ¶
type Server interface { Addr() string Close() error // FastForward 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. FastForward(d time.Duration) }
Server represents a redis server.
Click to show internal directories.
Click to hide internal directories.