Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
func NewMockPool ¶
func NewMockPool(conn *redigomock.Conn) *Pool
NewMockPool creates a mock pool for testing
func NewPool ¶
NewPool returns redis client pool when a client is required, use `pool.Get()` and close it once it is no longer needed.
func NewTestPool ¶
NewTestPool creates a connection pool for the integration test
Click to show internal directories.
Click to hide internal directories.