Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRedisServer ¶
type MockRedisServer struct {
// contains filtered or unexported fields
}
func NewMockRedisServer ¶
func NewMockRedisServer(port int) *MockRedisServer
func (*MockRedisServer) Addr ¶
func (m *MockRedisServer) Addr() string
func (*MockRedisServer) FastForward ¶
func (m *MockRedisServer) FastForward(duration time.Duration)
func (*MockRedisServer) GetRedigoPool ¶
func (m *MockRedisServer) GetRedigoPool() *redigo.Pool
func (*MockRedisServer) GetRedisClient ¶
func (m *MockRedisServer) GetRedisClient() *redis.Client
func (*MockRedisServer) Host ¶
func (m *MockRedisServer) Host() string
func (*MockRedisServer) Port ¶
func (m *MockRedisServer) Port() string
Click to show internal directories.
Click to hide internal directories.